Next frame at end of flv ActionScript 3

How do I tell it to move to the next frame at the end of the flv video that is playing in the current frame?

I'm using Actionscript 3

flash video sample files

Maybe the files from one of my talks on Flash video will help you learn how to apply precision control of FLV playback.

Good luck.

--
R Blank
CTO | Almer/Blank | www.almerblank.com
Director | Rich Media Institute | www.richmediainstitute.com
Founding Manager | LA Flash | www.laflash.org
Faculty | Information Technology Program | USC Viterbi School of Engineering

I found the answer

Here is the script that I used. In this case it plays the video and when it's complete it just goes to the first frame.

import fl.video.*;
my_FLVPlybk.source = "Day4Vlog.flv";
my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, complete_listener);
// listen for complete event; play new FLV
function complete_listener(eventObject:VideoEvent):void {
if (my_FLVPlybk.source == "Day4Vlog.flv") {
gotoAndPlay(1);
}
};