I dont use the FLVPlayback component.
How do you load it then? If you want help you need to provide information.
i guess i made mistake. I guess i use the Playback components without skin?
The code on the beginning:
loadVideo = function (videoUrl)
myNetconnection = new NetConnection();
myStream = new NetStream(myNetconnection);
myStream.onStatus = function(info)
if (info.code == "NetStream.Play.Stop")
// Set flag, we will need to wait for "NetStream.Buffer.Empty" before
// actually restarting the movie.
if (info.code == "NetStream.Buffer.Empty")
// At this point, the movie has stopped, and the buffer is empty.
// We're ready to restart the movie.
myStream.onMetaData = function(obj)
If you are using the NetStream class you are not using any component. What you should be able to do is to check for the NetStream.Play.Complete via the NetStream.onPlayStatus event monitoring.
Here is a link that provides some details:
If you want more information you should try searching Google using terms like "AS2 NetStream.onPlayStatus"
For the code you show it should be able to be used similarly to the way you monitor the onStatus event monitoring.