# Cue points and event listeners

**URL:** <https://forum.kirupa.com/t/cue-points-and-event-listeners/241279>\
**Category:** Uncategorized\
**Created:** [October 11, 2007, 6:27pm UTC](https://forum.kirupa.com/t/cue-points-and-event-listeners/241279 "2007-10-11T18:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_ziity](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@p\_ziity](https://forum.kirupa.com/u/p_ziity)\
**Post date:** [October 11, 2007, 6:27pm UTC](https://forum.kirupa.com/t/cue-points-and-event-listeners/241279/1 "2007-10-11T18:27:19Z")

</div>

So I have this action script, an event listener, which checks the FLV and when come to the end of the FLV It performs another task. My task being nextFrame();

flvPlayback.addEventListener(“complete”,this.complete);  
function complete(evt:Object):Void {  
nextFrame();  
\_root.blackbox.\_yscale, 1, 1, true);  
}

The question I have is does anyone know how to do the same thing but instead of the event listener looking for the end of the flv it’s looking for the cue point? I named my cuepoint “scare\_now” I’m not sure if that matters though.

If anyone can help I’ll bake you some brownies.:cowbell:
