Detect end of video playback

I dragged a FLVPlayback control to stage and set the “content” to my FLV file. It plays fine.

But I want to detect when the video finish and have the movie GotoAndPlay(1) – go back to frame 1 of movie.

I know I’m supposed to use “on complete” event handler or something. Can anybody show me some sample code? My FLVPlayback instance is called “myVideo”.

Thanks in advance.