newjack
07-31-2006, 10:21 PM
I have a rollover actionscript for a button below.
on (rollOver) {
//Movieclip GotoAndPlay Behavior
this.spinround.gotoAndPlay("2");
//End Behavior
}
Is it possible instead of having the frame number of the movie clip, (in this case "2") to tell the movie clip to go forward and stop after a particular number of frames?
For example say I have a movieclip of 100 frames I tell the button on rollover to play and advance the movieclip 10 frames at a time.
So rollover once you get frames 1-10.. rollover again and you get frames 11-20... and so on....
Thanks ever so much if you can help
on (rollOver) {
//Movieclip GotoAndPlay Behavior
this.spinround.gotoAndPlay("2");
//End Behavior
}
Is it possible instead of having the frame number of the movie clip, (in this case "2") to tell the movie clip to go forward and stop after a particular number of frames?
For example say I have a movieclip of 100 frames I tell the button on rollover to play and advance the movieclip 10 frames at a time.
So rollover once you get frames 1-10.. rollover again and you get frames 11-20... and so on....
Thanks ever so much if you can help