# \[help\] School Project

**URL:** <https://forum.kirupa.com/t/help-school-project/262968>\
**Category:** flash\
**Created:** [June 11, 2008, 2:37pm UTC](https://forum.kirupa.com/t/help-school-project/262968 "2008-06-11T14:37:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashnaab](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@flashnaab](https://forum.kirupa.com/u/flashnaab)\
**Post date:** [June 11, 2008, 2:37pm UTC](https://forum.kirupa.com/t/help-school-project/262968/1 "2008-06-11T14:37:39Z")

</div>

[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]

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 11, 2008, 2:43pm UTC](https://forum.kirupa.com/t/help-school-project/262968/2 "2008-06-11T14:43:45Z")

</div>

that doesn’t make much sense 😛

---

<div class="post-metadata">

**Author:** ![neilmmm](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@neilmmm](https://forum.kirupa.com/u/neilmmm)\
**Post date:** [June 11, 2008, 9:52pm UTC](https://forum.kirupa.com/t/help-school-project/262968/3 "2008-06-11T21:52:40Z")

</div>

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

```auto
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
