# Flash video cue script

**URL:** <https://forum.kirupa.com/t/flash-video-cue-script/299720>\
**Category:** Uncategorized\
**Created:** [November 10, 2009, 1:34am UTC](https://forum.kirupa.com/t/flash-video-cue-script/299720 "2009-11-10T01:34:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ba\_doyn](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@ba\_doyn](https://forum.kirupa.com/u/ba_doyn)\
**Post date:** [November 10, 2009, 1:34am UTC](https://forum.kirupa.com/t/flash-video-cue-script/299720/1 "2009-11-10T01:34:58Z")

</div>

Hi all,

I’m getting back into Flash after a long layoff. I’m still a relative novice at scripting so I’ve a small problem…

I have a movie with three frames. On one frame is a movieclip that runs a text animation. When done, it has a simple script (\_root.gotoAndPlay(“second\_frame”); ) that goes to the second frame when the animation finishes. The second frame has a small video with a cue point at the end (named “end”). Once the video ends, it needs to go to the next frame (“third\_frame”).

What I don’t understand is what script would I use to detect the ending cue point and then go to the next frame ("third\_frame)?

Suggestions please. I’m doing a favor at the last minute.

Thanks,  
Michael
