FORUMS: list search recent posts

load and play flv, then goto next frame

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
load and play flv, then goto next frame
on Dec 7, 2007 at 2:18:43 pm

I am using Flash CS3, But using AS2 for the project.

I seem to have trouble finding just the action script I need for this specific function, everyone does it a million different ways and I'm not slick enough to simply re-write the code to fit my need.
I need an external flv to load and play, and once it's finished playing, continue to the next frame where the page content begins.
Does anyone know how to figure out the action script coding for this on the actions layer?

I have found enough code to get the FLV to load and play, but I figure I also need a
on the frame to keep the timeline there while the video plays, but then something more for the computer to understand how long the video is, and when it's complete... to play "Next frame".

Return to posts index

Kelly Johnson
Re: load and play flv, then goto next frame
on Dec 11, 2007 at 4:19:53 pm

First, you'll want this extremely cool free extension:

now for your question:


var aeVid:FLVPlayback;//aeVid is arbitrary

aeVid.autoPlay = true;
aeVid.autoRewind = false;

var listenerObject:Object = new Object();

listenerObject.cuePoint = function(evtObj){ //the evtObj is just a name to use
gotoAndPlay(2);//or next frame, label etc



Return to posts index

Re: load and play flv, then goto next frame
on Dec 14, 2007 at 2:18:18 pm

Thank you very much for the reply... I will give this a try.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved