Groups | Blog | Home
all groups > flash actionscript > september 2006 >

flash actionscript : End of FLV advance? Cue points


DMennenoh **AdobeCommunityExpert**
9/20/2006 3:51:47 PM
[quoted text, click to view]
reached its end apart from cue points?:confused;

Yes, you can use the onStatus event of the NetStream object to know when
play has stopped.


DMennenoh **AdobeCommunityExpert**
9/20/2006 4:45:54 PM
Well, it somewhat depends on your movie, but I do something like so:

ns.onStatus = function (infoObject:Object) {
if (infoObject.code == "NetStream.Play.Stop" && !videoPaused) {
//vid stopped on its own
//do something here
}
};


eyeflame.tv
9/20/2006 8:36:32 PM
Hi there.
Have been playing around with cue points in MX2004pro to get my swf movie to
advance once the FLV that it loaded was at its end. However, MX2004pro gets
really confused if you use the display component in instances in different
scenes to call different videos with their own cue points. (you can delete them
and then they just always exist when you're on the component again. No
reference to the 2nd and 3rd component's action script for cue points in script
editor etc.) Only got the first one to work and its cue points work fine, but
the others are hopeless. Is there any other way to advance & play the timeline
once a FLV reached its end apart from cue points?:confused;
eyeflame.tv
9/20/2006 9:30:15 PM
Sounds promising!
Have not worked with it before.
AddThis Social Bookmark Button