PDA

View Full Version : how to play timeline in reverse


joshdesign
06-20-2011, 05:57 AM
how to play timeline in reverse

this is my code for playing the timeline on a btn press and i wanted to create a second btn to play the time line in reverse :

mybox_mc.stop();

box.addEventListener(MouseEvent.ROLL_OVER, boxSpin);

function boxSpin (event:MouseEvent):void {
mybox_mc.play();
}

box.addEventListener(MouseEvent.ROLL_OUT, boxStop);

function boxStop (event:MouseEvent):void {
mybox_mc.stop();
}