Wednesday, 15 June 2011

javascript - Get notifications from flash file in html -


I am running a flash file in an html embed tag in the html file. As soon as the flash is over, I need to run an action in JavaScript (say "alert"). How can I work

This is a nice tutorial how to:

If you insist on the event on the last frame If you want to, use EnterFrame like:

  addEventListener (Event.ENTER_FRAME, someFunction); Personal Function Some Functions (E: Event): Zero {if (currentFrame == totalFrames) {removeEventListener (Event.ENTER_FRAME, some functions); // some external interface event fire}}  

No comments:

Post a Comment