# Event handler timeline issue

**URL:** <https://forum.kirupa.com/t/event-handler-timeline-issue/246989>\
**Category:** flash\
**Created:** [December 17, 2007, 4:00pm UTC](https://forum.kirupa.com/t/event-handler-timeline-issue/246989 "2007-12-17T16:00:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darren\_E](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Darren\_E](https://forum.kirupa.com/u/Darren_E)\
**Post date:** [December 17, 2007, 4:00pm UTC](https://forum.kirupa.com/t/event-handler-timeline-issue/246989/1 "2007-12-17T16:00:02Z")

</div>

This code is placed in a movie clip which is being told to act like a button. The rollover effect works wonderfully but it will not go to the frame labels using gotoAndPlay(“frameLabel”);  
My labels in the main timeline are:  
Here  
There

with the first letter capitalized as shown below in the code.

What am I doing wrong? (Other than trying to use ActionScript 3.0 ;P)

```php
stop();
var hrewind:Boolean = false;
this.addEventListener(Event.ENTER_FRAME, rewindIt);
this.addEventListener(MouseEvent.MOUSE_OVER, playIt);
this.addEventListener(MouseEvent.CLICK, loadIt);
this.addEventListener(MouseEvent.MOUSE_OUT, startRewind);

function rewindIt(e:Event){
if(hrewind) prevFrame();
}
function playIt(e:MouseEvent){
hrewind = false;
gotoAndPlay("Here");
}
function loadIt(e:MouseEvent){
gotoAndPlay("There");
}
function startRewind(e:MouseEvent){
hrewind = true;
}

```
