all groups > flash (macromedia) > september 2007 >
You're in the

flash (macromedia)

group:

Cue point to jump to next frame of movie


Cue point to jump to next frame of movie eyeflame.tv
9/4/2007 7:17:01 PM
flash (macromedia): Hi. I'm a bit lost assigning an action script created CuePoint (Entered in
Paramenters Window for FLV media component) to tell my SWF movie to advance to
the next frame and thus call the next video I want to throw onto that next
keyframe.

I know this must be basics to most, but somewhere I'm missing it. Once a
CuePoint is created, how do I link that to trigger an action?
Re: Cue point to jump to next frame of movie dzedward
9/4/2007 7:26:19 PM
give the component an instance name of, flvPlayer.. and paste this on the frame

var listener:Object = new Object();
listener.cuePoint = function(eventObj:Object) {
gotoAndStop(3);
};
flvPlayer.addEventListener("cuePoint", listener);
Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 7:31:38 PM
Thanks for reply. I was out of things for a week with flu. Serious flu. Now I
have to catch up. Grrrr.

Does that mean ("cuePoint" , ... needs to be replaced with the actual name of
the cue point to work?
+ The Cue point Parameters. What should they be set as?
Re: Cue point to jump to next frame of movie dzedward
9/12/2007 7:33:50 PM
Re: Cue point to jump to next frame of movie dzedward
9/12/2007 7:34:30 PM
Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 7:41:54 PM
Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 7:49:52 PM
Does the fact that the cue point is not embedded in the FLV stream have anything to do with it? I'm adding the cue-points throught the Component inspector. Bad idea?
Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 7:51:42 PM
Yup. I did.
Then selected the frame the component is on and pasted the action script onto that frame.
Re: Cue point to jump to next frame of movie dzedward
9/12/2007 7:53:22 PM
Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 7:57:26 PM
Re: Cue point to jump to next frame of movie dzedward
9/12/2007 8:13:07 PM
any cue point will make that listener fire. and as soon as it fires, it will execute the script. add:
trace("fired");

Re: Cue point to jump to next frame of movie eyeflame.tv
9/12/2007 9:01:45 PM
Thanks, DZ!
It's alive! You rock.
Re: Cue point to jump to next frame of movie dzedward
9/12/2007 9:19:54 PM
AddThis Social Bookmark Button