Flash video cue script

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