Load movie error detection?

Need to be able to detect if there was an error loading the movie.
In test mode the output window display an error if file not found.
How do you get this information when not in test mode?
Does if (success) work for load movie as it does for loadvar?

Thanks,

YJ

No, it does’nt, i wish it was. You can only trigger the swf when it load’s, by using bokel’s fix:

http://www.kirupaforum.com/showthread.php?s=&threadid=10604

Also, you can create a time-out script, setInterval, or getTimer.

H88,
Thanks, but I neglected to mention that I am loading a jpeg file not a .swf and if there is a file error I get nothing where the file should be, not pretty!

YJ

*Originally posted by yellowjacket *
**H88,
Thanks, but I neglected to mention that I am loading a jpeg file not a .swf and if there is a file error I get nothing where the file should be, not pretty!

YJ **

Exactly the same thing.