Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error handling of missing files 1

Status
Not open for further replies.

spazool

MIS
May 9, 2000
14
ZA
How do I test and cover for a loadMovie that gives a missing file error?

I want to test for a missing file and then set the action to go to an error page.

Any ideas?
 
The gallery problem is interesting...

I am trying to load the swf from a sub-directory.. the code looks like this..

photo = "HN/hn_"+num+".swf";
loadMovie (photo, _root.pictures_mc");


The error movie (end.swf) which shows the "The End" image, is in the root directory (same as gallery.swf) it looks like it is losing the base URL..
 
Ok I am losing my mind.. I added a base URL in the html file that "owns" the flash, and the pictures in the gallery, work.. but now I have lost the "The End"!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top