# Movie Clip Menu Problem - help would be great!

**URL:** <https://forum.kirupa.com/t/movie-clip-menu-problem-help-would-be-great/166625>\
**Category:** flash\
**Created:** [October 21, 2005, 12:07pm UTC](https://forum.kirupa.com/t/movie-clip-menu-problem-help-would-be-great/166625 "2005-10-21T12:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![williby27](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/williby27/32/1501_2.png) [@williby27](https://forum.kirupa.com/u/williby27)\
**Post date:** [October 21, 2005, 12:07pm UTC](https://forum.kirupa.com/t/movie-clip-menu-problem-help-would-be-great/166625/1 "2005-10-21T12:07:07Z")

</div>

I’m creating a menu bar that is a movieclip and inside the movieclip consists of the buttons.

Now the menu bar is twice as WIDE as what is visible on the stage.

The only part you can see is the text ‘menu’ on a bar.

Then when the mouse hits the bar, it flies across the screen to the otherside of the bar where the menu buttons are.

Now the menu bar does its animation over 20 frames - the last frame being the frame where the menu buttons are now visible.

On the last frame i have the ‘stop;’ code

On the first frame I have this code:

```auto

stop();

this.onEnterFrame = function(){

if(rewind == true){

prevFrame();
}

if (this.hitTest(_root._xmouse, _root._ymouse)) 
{
	rewind = false;
	play();
}else{
	rewind = true;
}

}

```

Now when i test my movie it it works fine when my mouse hits the bar BUT it doesnt stop!!! and i just get this continous bar flying!!!

Please help it would be great all i want is for the bar to stop on frame 20!

If you are confused please look at the navbar on [PRELOADIT](http://www.preload.it)

Cheers

Williby27
