That's stopped, not finished.  Finished is NetStream.Play.Stop followed 
immediately by a NetStream.Buffer.Empty.


----- Original Message ----- 
From: "Jason Lutes" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 04, 2005 10:07 AM
Subject: Re: [Flashcoders] placing an action at the end of a FLV video!


> I have a swf that calls a flv on my server. The swf loads into a
> movieclip on the main swf. I need the loaded swf with the flv to
> load the default swf..(home.swf) into the mailloader clip when the
> flv is finished.

How are you loading/playing the FLV?

If you're doing it via NetStream, just use something like the following.

yourNetStreamObject.onStatus(status:Object):Void {
  if (status.code == 'NetStream.Play.Stop') {
    // Place your code for loading the default SWF here.
  }
}

As soon as the FLV stream playback completes, the code will execute.


-
pixelTwiddler, a.k.a. Jason



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to