[help] School Project

[FONT=Arial]Hello,[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Imagine that I have 4 characters and I want to select one and load it in a particular place to play with it. There is some easy way to do it?[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]I’m sorry to bother you with this, but I’m on an informatic course and currently developing a final project and I can’t solve this problem which is driving me insane.[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]It would be wonderful if you guys could hook me up.[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]With the best regards.[/FONT]

that doesn’t make much sense :stuck_out_tongue:

there are many ways to do this
the following attaches a mc to the stage that you can drag around … does make sense to you

var charChoice:String;
function loadCharacter () {
 var ch:MovieClip=this.attachMovie(charChoice,charChoice+_root.getNextHighestDepth(),this.getNextHighestDepth());
 ch._x=250
 ch._y=100;
 ch.onPress=startDrag;
 ch.onRelease=ch.onReleaseOutside=stopDrag;
}
player1_mc.onRelease=function  () {
 charChoice="mc1";
 loadCharacter ();
}
player2_mc.onRelease=function  () {
 charChoice="mc2";
 loadCharacter ();
}
player3_mc.onRelease=function  () {
 charChoice="mc3";
 loadCharacter ();
}
player4_mc.onRelease=function  () {
 charChoice="mc4";
 loadCharacter ();
}

see fla