00:00
00:00
Newgrounds Background Image Theme

razeck18 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

referring to duplicated movieclips?

328 Views | 1 Reply
New Topic Respond to this Topic

I want to make a topdown zombie shooter, everytime you shoot a new movieclip is attached but, I need to refer to these attached movieclips in the code of the zombies, how do I do that?
If I had 1 single bullet it could be refered to as if(this.hittest(bullet)){this.health -= 1}
but I have multiple bullets that all have different instance names

I understand if it's hard to understand what I'm asking, because I don't really know how to phrase it, sorry :/

Response to referring to duplicated movieclips? 2013-01-08 03:29:34


Is there anything that helps in AS3: Main? The most up-to-date list can be found at the end of the thread. There are also a couple of links to older AS: Main threads in the first post, which contain more tutorials. Hopefully one of those will help.

As you are asking how to do something within Flash (assuming you are here), which isn't related to animation, your question should have been asked in the Flash forum instead. If you can't find anything that helps in AS: Main, then re-ask your question there.