# Mouseover Helppppppppppppppppp

**URL:** <https://forum.kirupa.com/t/mouseover-helppppppppppppppppp/256398>\
**Category:** flash\
**Created:** [April 2, 2008, 6:50pm UTC](https://forum.kirupa.com/t/mouseover-helppppppppppppppppp/256398 "2008-04-02T18:50:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inder](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@Inder](https://forum.kirupa.com/u/Inder)\
**Post date:** [April 2, 2008, 6:50pm UTC](https://forum.kirupa.com/t/mouseover-helppppppppppppppppp/256398/1 "2008-04-02T18:50:26Z")

</div>

Hi,

I am a beginner in flash, I am working on a website and am stuck with an issue, I have been struggling with this for a few days. I would really appreciate your help.

I have **3 movieclip buttons (with \_up, \_Over, \_selected states)** on the page with mouse over applied. If the use has to go to the top navigation the buttons would bring in the frame applied for mouseover. How ever I do not want that, so I applied a 1 sec delay on the mouse over, this works fine.

# But the issue is that I would want the button to move to the selected state if that frame is on the stage. \*\*If I roll the mouse out, it goes to the \_up state as opposed to the \_selected state.\*\*I tried applying the roll out event to go to the selected state, but even if the mouse was on the button even less tha a sec it goes to the selected state on roll out Below is the code I applied

this.mainNav1.onRollOver = function(){

animationI=setInterval(animationF,1000);}  
function animationF(){  
clearInterval(animationI);  
gotoAndStop(“HS”);  
mainNav1.gotoAndPlay("\_Over");  
}

this.mainNav1.onRollOut = function(){  
clearInterval(animationI);  
}

this.mainNav2.onRollOver = function(){  
animationII=setInterval(animationG,1000);}  
function animationG(){  
clearInterval(animationII);  
gotoAndStop(“HDX”);  
mainNav2.gotoAndPlay("\_Over");  
}

this.mainNav2.onRollOut = function(){  
clearInterval(animationII);  
}

this.mainNav3.onRollOver = function(){  
animationIII=setInterval(animationH,1000);}  
function animationH(){  
clearInterval(animationIII);  
mainNav3.gotoAndPlay("\_Over");  
gotoAndStop(“Choreograf”);  
}

# this.mainNav3.onRollOut = function(){ clearInterval(animationIII); }

I would appreciate if you can help me out of this.

Regards,  
I
