# Simple way of multiple identicle MC's?

**URL:** https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560
**Category:** flash
**Created:** [October 21, 2003, 2:54am UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560 "2003-10-21T02:54:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![elion](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elion](https://forum.kirupa.com/u/elion)
#### Post date: [October 21, 2003, 2:54am UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/1 "2003-10-21T02:54:56Z")

</div>

I’m using this as my example again:

> **[Trapped 4](https://www.newgrounds.com/portal/view/128387)**
>
> Trapped 4 of the Series "Trapped" A fun puzzle adventure game!

If you would play that game for a minute or two, what I’m wondering about is the X’s that damage you if you touch them. The only way I can think of having that many identical MC’s doing the same thing is to give each one of them a different instance name and have the actions apply to each one individually. Is there an easier way to do this? :puzzle:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 4:56am UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/2 "2003-10-21T04:56:44Z")

</div>

nah, if you have a clip made with the code, you can then just hold down alt, click and drag and create a duplicate. there are better ways of doing that with actionscript though… there is a lot involved however… try searching for a tutorial on the FlashMX event model, that should give you a good start on doing that type of stuff.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 5:02am UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/3 "2003-10-21T05:02:06Z")

</div>

the game is tilebased. What it basically says it if the Hero lands on the “x” tile then tell lifebar to play.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 7:35pm UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/4 "2003-10-21T19:35:31Z")

</div>

I wish I could do the first thing you suggested, but that doesn’t work when numerous things have the same instance name :skull: I also have no idea what this event model stuff is, so I’ll just do it the hard way. ☹

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 7:57pm UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/5 "2003-10-21T19:57:16Z")

</div>

Well the hard way is driving me friggen insane. I need to find an easier way! ☹

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 10:23pm UTC](https://forum.kirupa.com/t/simple-way-of-multiple-identicle-mcs/33560/6 "2003-10-21T22:23:10Z")

</div>

The attached example is one way to achieve what you want, I think. I didn’t look at your link so I have no idea what kind of movement you want, that’s up to yo. to do–but hopefully the duplicate AS can be applied to YOUR MC.
