Simple way of multiple identicle MC's?

I’m using this as my example again:

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:

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.

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

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. :frowning:

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

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.