Groups | Blog | Home
all groups > flash (macromedia) > september 2006 >

flash (macromedia) : FLV's


Mister Peanut
9/27/2006 9:22:16 PM
Hello, I am stuck on how to accomplish a function with my FLV video files.

I have an FLV that plays automatically when entering a frame. It plays in an
FLV video component. After the video has played through, I want the viewer to
automatically go to frame 2 where there is an option to click on a button to
view the next video. As it is, the video plays to the end, and stops in a
pause-like position - which I don't want.

Any simple code I can put in that will go to the next frame?

Thanks,

Brad
Mister Peanut
9/27/2006 9:45:21 PM
I got the answer from a previous post. Nickel55 ....

Sure can... here ya go. First make sure that the FLVPlayback component has an
instance name of vid, then put this code on the actions layer of the frame
containing your flv file/playback component.

var vidList : Object = new Object();
vidList.complete = function() {
getURL("http://www.newurl.com");
}
vid.addEventListener ("complete",vidList);
stop();


--------------------------------------------------------------------------------

AddThis Social Bookmark Button