how to animate a mc by button in over state
hi
i have this cinema tabe movie clip with instance name tape
and two button
one for next and one for the previous
i want the next button every time (only when over state happen) the cinema tape crose the screen to get the next and the next atc,
and the back button every time when over state happen the cinema tape get back and back atc,
i try
button_1.addEventListener(MouseEvent.MOUSE_OVER, fl_MouseOverHandler);
function fl_MouseOverHandler(event:MouseEvent):void
{
tape.addEventListener(Event.ENTER_FRAME, fl_AnimateHorizontally_3);
function fl_AnimateHorizontally_3(event:Event)
{
tape.x -= 10;
}
}
but the tabe across the screen completly !