Okay, so not sure wtf is going on here, I’ve also been staring at it for so long, I know the problem is that I’ve gotten tunnel vision and I can’t figure out what the deal is!
I’m NEW to as3… I like my as2, but adobe just had to have their own thing.
Okay, here is the problem: I have movieclip buttons, everything works fantastic when you deliberately move the mouse over them. But when you move the mouse to fast they freak out, jumping in and out of the OUT and OVER states and staying in the end frame of the over state tween.
http://new.titaniumdesigngroup.com <- is where you can find the problem. All you need to do is run the mouse over one of the baloons and you’ll see the issue, be sure to run it over fast.
here is my as3
import flash.display.MovieClip; import flash.events.MouseEvent;
//webdesign button
web_mc.buttonMode = true; web_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver); web_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
//maintenance button
maint_mc.buttonMode = true; maint_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver); maint_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
//hosting button
hosting_mc.buttonMode = true; hosting_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver); hosting_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);
//button activities
function onButtonOver(e:MouseEvent) :void { e.currentTarget.gotoAndPlay(“over” ) ; } function onButtonOut(e:MouseEvent) :void { e.currentTarget.gotoAndPlay(“out” ) ; }
**NOTE: I had strange emoticons showing up so I had to space the ) from the ;/:
Posted about 1 month ago











