MouseOver Button

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

Return to Posts Index • Reply To This Post