hey
i have a over and out animation but i only want to play the out animation when the over animation has completely finished and the same with out animation.
i have this code
[LEFT]text_mc.buttonMode = true;
text_mc.addEventListener(MouseEvent.ROLL_OVER, textOver);
function textOver(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("over");
text_mc.addEventListener(MouseEvent.ROLL_OUT, textOut);
text_mc.removeEventListener(MouseEvent.ROLL_OVER, textOver);
}
function textOut(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("out");
text_mc.addEventListener(MouseEvent.ROLL_OVER, textOver);
text_mc.removeEventListener(MouseEvent.ROLL_OUT, textOut);
}[/LEFT]