all groups > flash (macromedia) > december 2003 >
You're in the

flash (macromedia)

group:

loadMovie not working locally


loadMovie not working locally Andrew Banks
12/3/2003 11:03:22 PM
flash (macromedia):
I'm using a simple loadMovie command but I am unable to load local images. I
have triple checked the path and everything is correct, I've even had others
look at it to check.
If I change the path to an image on a web server it is loaded correctly.

for example the first command here would work where as the second wouldn't,
even though the images are there and flash gives no errors when I preview
with Ctrl+Enter

loadMovie("http://andrew-banks.co.uk/flash/images/thumbs/100.jpg",_imageHold
er);

loadMovie("images/thumbs/100.jpg",_imageHolder);

Can anyone help beacuse this is bugging the hell out of me

Re: loadMovie not working locally urami_
12/4/2003 8:11:08 AM

[quoted text, click to view]


Take note that once the flash is loaded in html from some directory , it looks for files
from perspective of that directory , it does not remember it's position on server so if you have
your index.html in server root
the SWF will look for images/thumbs/100.jpg while the path should be flash/images/thumbs/100.jpg

Remember that you must create the path not from SWF but from position of html file location.







Regards

urami_*



<lsym>

There's no place like 127.0.0.1

Re: loadMovie not working locally C0052372
12/4/2003 8:23:01 AM
Sorry, I have to reply from the web based forums as I have no NG access from here today.

This SWF will be run from a CD and the paths to the images are correct. If it couldn't find the images I would get an error in the message window saying so.

My feeling is that the images are being found but for some reason are not being loaded when run locally


Re:loadMovie not working locally D.Albert
12/4/2003 1:16:34 PM
You cannot load into Flash Movie Jpeg's that use progressive option. Make sure that your images are not progressive


Re:loadMovie not working locally C0052372
12/4/2003 3:10:53 PM
The images are not progressive as they work from the web server and I photoshop batch processed them all to make sure they weren't.

I Ctrl+Enter preview the fla and it would give me error messages if the images were not found - I have tried it with a broken link and it errored.

The funny thing is this seems to be working fine today!! I think I'm going to try re-install flash as I keep getting these kind of errors where one day it works and one day it doesn't.

Re: loadMovie not working locally urami_
12/4/2003 8:46:19 PM

[quoted text, click to view]

no it would not , flash does not supply error , only in authoring in OUTPUT , not as
exported file .

[quoted text, click to view]

well , can't really say w/o more info .




Regards

urami_*



<lsym>

There's no place like 127.0.0.1

AddThis Social Bookmark Button