UILoader events in CS3

  • Johnatguerilla
  • Born
  • Born
  • Johnatguerilla
  • Posts: 1

Post 3+ Months Ago

Hi all, I have a media player app written in flash cs3 (deployed using the AIR framework to a SLAX linux running from a USB stick) and need a way to tell when an swf file, loaded into a UILoader component, has reached the last frame. The swf's come from different sources and in most cases source files are unavailable so adding a cuton event to the swf is not an option.

I am using the following to catch the complete event from the FLVPlayback component for video files:

Code: [ Select ]
 
function completeHandler( event:Event ):void {
    //move on to the next item in the playlist
}
mPlayer.addEventListener(Event.COMPLETE,completeHandler);
 
  1.  
  2. function completeHandler( event:Event ):void {
  3.     //move on to the next item in the playlist
  4. }
  5. mPlayer.addEventListener(Event.COMPLETE,completeHandler);
  6.  


on the loader the complete event is triggered once ontent has finished loading, so i guess the question is whic event (if any) is triggered once the swf reaches the end of the timeline?

Any sugestions are welcome....

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.