Groups | Blog | Home
all groups > macromedia flash sitedesign > january 2006 >

macromedia flash sitedesign : URL's for Jpegs in Flash


David Stiller
1/26/2006 4:45:20 PM
10ns,

[quoted text, click to view]

Makes no difference at all. You simply have to know where the JPG is in
relation to the SWF and correctly path there.

[quoted text, click to view]

It is the same. You can put a JPG into the same folder as an HTML file.
If that's the relationship, an <img> tag only needs its src attribute to
name the JPG itself: there is no path. If the HTML file is on one folder,
and that folder has a sub-folder named images, and the JPG is in there, the
src attribute would be images/nameOfImage.jpg. It's the same for Flash.

The only possible snag is when your HTML file is in one place and your
SWF is in another. In that case, the "point of view" is not that of the
SWF, but that of the HTML file.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

10ns
1/26/2006 7:45:25 PM
:confused;

I am trying to display some jpeg images in a flash document using the
[movieclip] [loadGraphic] command from the behaviours panel. Evrything runs
smooth until I try to test it, geting a script error saying it (flash) cannot
recognize my URL I have given in the load graphic dialog box. I have set up my
file and images in a folder together in my documents foder on my desktop. Am I
forgetting something? Where do the Jpegs to called have to be placed in
relation to the Flash file? It worked fine in dreamwever when you create a site
and its image files, is it not some what the same for flash, keep it all
together right? Any suggestions? I know its gonna be the smallest most detail
but what the hell is it!
AddThis Social Bookmark Button