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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flashMX loadMovie

Status
Not open for further replies.

psykloak1

Programmer
Aug 31, 2001
6
US
What's the best way to check if loadMovie is successful? (ie. if the file exists). Any ideas? Thanks.
 
you can detect if the movie is loaded by checking to see if its width property for example is defined, or else set a variable in the first frame. if it hasn't appeared after a specified timeout period, then you can assume it isn't coming....and take appropriate action


only other way is to use a server script to see if file exists by checking directory contents.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top