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!

Find out when flash file is finished

Status
Not open for further replies.

Toastie

Programmer
May 19, 2001
123
AU
How can i detect when a flash file is finished in a web browser?
 
probably best to put the code into the flash file itself. Create a loop in a set of 'loading' frames by putting some actionscript in the last frame which uses ifframeisloaded for the last frame in the movie. insert code for when the conditional is true to jump to the next frame / scene, and place code to send them back to the start outside this conditional for when it is still loading:

If Frame Is Loaded (25)
Go to Next Scene
End Frame Loaded
Go to and Play (1)
 
This is not possible because i am buying the flash files as cartoons.
I neet do detect if flash file is finished so can launch a different web browser window holding adverts then after a set time play the next cartoon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top