First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
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: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
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: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.