PDA

View Full Version : netStream.onStatus HELP


tkm911
01-18-2005, 01:42 PM
I am trying to invoke an action when a FLV is done playing. Here is the code:

// After FLV is complete, move to next frame
netStream.onStatus = function(infoObject){
if (infoObject.code == "NetStream.Play.Stop") {
_root.nextFrame();
}
}

This doesn't throw a error but only really works in one of several frames...Does anyone have any suggestions?