Hows come when I use the loadMovie() function in Flash, I can just enter the filename [ie: loadMovie("thefile.jpg", _root.theContainer)], and it works fine when it's on my local machine, but then when I upload it, it wont display local URL's for the file (yes, I have the file uploaded in the same directory as the .
swf file). In other words, in order for me to get the loadMovie function to work on the web, I have to use an absolute url pointing to the picture (ie: loadMovie("
http://www....").
You get the picture. At this point, I have two questions:
1. Why does Flash do this?
2. Is there any way within Flash (or other external languages), that I can get the directory that the .
swf file is in, into the flash movie as a variable, because the exact URL for the image is not going to be static.