# \[F8 AS2\] Naming cuePoints in AS

**URL:** https://forum.kirupa.com/t/f8-as2-naming-cuepoints-in-as/277329
**Category:** flash
**Created:** [December 10, 2008, 9:33pm UTC](https://forum.kirupa.com/t/f8-as2-naming-cuepoints-in-as/277329 "2008-12-10T21:33:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Skarab](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Skarab](https://forum.kirupa.com/u/Skarab)
#### Post date: [December 10, 2008, 9:33pm UTC](https://forum.kirupa.com/t/f8-as2-naming-cuepoints-in-as/277329/1 "2008-12-10T21:33:54Z")

</div>

I’ve got this FLV which plays, and one cue Point at the end where the timeline advances to frame 2 and a static mc fades in in front of it with clickable text links.

I’ve been over the documentation and I’m getting most of it but I’m not seeing where I explicitly name the cuePoint so AS will recognize it.

the code I have is:

```auto
stop();
var listenerObject:Object = new Object;
listenerObject.cuePoint = function (eventObject:Object):Void {
 this.gotoAndPlay(2);
 };

```

The cue Point is named fadeInFrame. How do I name it for the AS to see it? It doesn’t seem to be in the help files.
