Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
Put an instance of "ball MC" it on stage and name it.
(in this example the instance name is "myMovie")
Create a new button (in this example it is the "arrow") and place two instances of it on stage
(in this example the right arrow is rotated by 180 degrees)
On the left button enter the following action:
on (release) {
_root.myMovie.back.gotoAndPlay("loop");
}
Since the "back MC"'s first frame stops the movie this button tells it to go to the second frame and enter the loop between the second and the third frame.
On the right button enter the following actions:
on (release) {
_root.myMovie.back.gotoAndStop(1);
_root.myMovie.play();
}
The first line stops the "back MC" and the second tells the "ball MC" to continue playing from whatever frame the ball is at.
Well that's it.
You can use this kind of stuff in a flash game or on a pictures' gallery.
I hope you'll find it useful.