**It posted my thread with no title and I cant' edit it so I am reposting this for a better response.
Hi,
I have made 3 movieclip buttons and they are spaced about 15 pixels apart. I have them working but the problem is if I move my mouse over them fast the 'rollover state' will stay on. I can wiggle the mouse around and get them all to stay on if I wanted to.
It's not working satisfactory at all. I have had this happen before and it seems to happen when buttons are close together. I must be doing something wrong.
I'd like to solve this in AS3 if possible.
Here is my code:
Now this works, but the "over" state stays on on mouseout if I move quickly off the button.Code:but3.addEventListener(MouseEvent.ROLL_OVER, onButOver); but3.addEventListener(MouseEvent.ROLL_OUT, onButOut); but2.addEventListener(MouseEvent.ROLL_OVER, onButOver); but2.addEventListener(MouseEvent.ROLL_OUT, onButOut); but1.addEventListener(MouseEvent.ROLL_OVER, onButOver); but1.addEventListener(MouseEvent.ROLL_OUT, onButOut); function onButOver (event:MouseEvent) { event.currentTarget.gotoAndPlay("over"); } function onButOut (event:MouseEvent) { event.currentTarget.gotoAndPlay("out"); }
Any help would be GREATLY APPRECIATED! This is for work and I need to do this!




Reply With Quote