Search tutorials
Okay, first, you sould know variables, if actions,
instance names, buttons, and goto actions.
First, on frame 1, draw at least 3 characters.
Make each characters a button. Add this action to the first button.
Now this one for the second button:
Now this one for the third button:
Now, put a stop(); action on frame 1 and add
a keyframe on frame 2.
Now draw your characters again on 1 movieclip
(1st character on 1st frame, etc.)
now put a stop(); action on all frames of this
movie clip and on the main timeline.
Put this code on the Movie Clip on Frame 2: Okay! we are now DONE!!!
instance names, buttons, and goto actions.
First, on frame 1, draw at least 3 characters.
Make each characters a button. Add this action to the first button.
on (release) { gotoAndStop(2); character = 1; }
Now this one for the second button:
on (release) { gotoAndStop(2); character = 2; }
Now this one for the third button:
on (release) { gotoAndStop(2); character = 3; }
Now, put a stop(); action on frame 1 and add
a keyframe on frame 2.
Now draw your characters again on 1 movieclip
(1st character on 1st frame, etc.)
now put a stop(); action on all frames of this
movie clip and on the main timeline.
Put this code on the Movie Clip on Frame 2:
onClipEvent (enterFrame) { if (_root.character == 1) { this.gotoAndStop(1); } else if (_root.character == 2) { this.gotoAndStop(2); } else if (_root.character == 3) { this.gotoAndStop(3); } }
» Level Advanced |
Added: 2005-04-11 Rating: 6 Votes: 29 |
» Author |
Just a kid not wanting to fit in.... |
» Download |
Download the files used in this tutorial. |
Download (2 kb) |
» Forums |
More help? Search our boards for quick answers! |