OK, I think this is the right idea but I can't get it to
work. To answer your questions, the FLVPlayer is my own class I
wrote and it displays the FLVPlayback component with a text field.
On completion of the video it removes the FLVPlayback component and
the text field to leave a blank page ready for the buttons to come
on.
I put the Listener in the Main class, which is the Document
Class, like this:
//This adds the video from the Main class
var introVid:FLVPlayer=new
FLVPlayer("FLV/introFLV.flv",360,240);//FLVPlayer my class
introVid.x=30;
introVid.y=330;
addChild(introVid);
introVid.addEventListener(VideoEvent.COMPLETE,mainBtns);//don't
think this is the right thing to listen for
function mainBtns():void {
trace("Got Here");//This would be the code to bring on the
buttons.
}
I'm not sure what I should be listening for, video complete,
FLVPlayback component removed from the display list or the
FLVPlayer class finished. Could you give me some code ideas?
Thanks again.