# Cant find a rolover solution

**URL:** https://forum.kirupa.com/t/cant-find-a-rolover-solution/153460
**Category:** flash
**Created:** [July 1, 2005, 3:27pm UTC](https://forum.kirupa.com/t/cant-find-a-rolover-solution/153460 "2005-07-01T15:27:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DTFL](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@DTFL](https://forum.kirupa.com/u/DTFL)
#### Post date: [July 1, 2005, 3:27pm UTC](https://forum.kirupa.com/t/cant-find-a-rolover-solution/153460/1 "2005-07-01T15:27:47Z")

</div>

Hi everyone,

I have been trying to find a solution for this problem for a couple of weeks now… if anyone could point me in the right direction i would be truly greatfull.

I am working on the following site for a charity

[www.digital-focus.co.uk/NPS/index.html](http://www.digital-focus.co.uk/NPS/index.html)

On my maintimeline i have four layers ‘Background’, ‘Navigation’, ‘Content’ & ‘Buttons’. In my button layers i have added movie clips to three of the buttons ‘Visitors Centre’, ‘Education’ & ‘Links’ each of which contain the following code on the first frame of the MC to rewind the menu animation:

```auto
 
stop(); 
  
this.onEnterFrame = function(){ 
if(rewind == true){ 
prevFrame(); 
} 
} 
  
this.onRollOver = function(){ 
rewind = false; 
play(); 
} 
  
this.onRollOut = function(){ 
rewind = true; 
} 

```

If i try to add to a button within the MC which contains the drop down menu or an in-visiable object with code directing the user to a point on the main timeline when pressed, the actions code to rewind the movie clip on rollout seems to precent any other form of button working.

I have checked the order of my layers a thousand times and have tried placing the buttons for the options in the drop down menu in a MC of its own with the MC (if that makes sense)

If anyone could offer any advise or methods of appraoch to solving this problem i would be truly greatfull.

Kind regards  
Jonathan
