First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Paco Bell | Website: http://www.geocities.com/romfus/
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.
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);
	}
}
Okay! we are now DONE!!!
» Level Advanced

Added: 2005-04-11
Rating: 6 Votes: 29
(10 being the highest)
» Author
Just a kid not wanting to fit in....
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • Character Select

    Posted by Chris on 09/30/2012 06:21pm

    I noticed that this code is in AS2 format. I am using AS3, and need help coding a CS screen for it... I have tried many different things to do this(I am taking a class for this and need it for an assignment), and have had no luck. Also, I would need it to go to the gameplay screen afterwards.

    Reply
  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.