# Movieclips to one variable(?)

**URL:** <https://forum.kirupa.com/t/movieclips-to-one-variable/40757>\
**Category:** Uncategorized\
**Created:** [January 21, 2004, 5:44pm UTC](https://forum.kirupa.com/t/movieclips-to-one-variable/40757 "2004-01-21T17:44:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b0b0](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@b0b0](https://forum.kirupa.com/u/b0b0)\
**Post date:** [January 21, 2004, 5:44pm UTC](https://forum.kirupa.com/t/movieclips-to-one-variable/40757/1 "2004-01-21T17:44:24Z")

</div>

allright, I’ll try to explain this right…

is it possible to add movieclips to variables?? or do I need to use arrays??

The thing is i’m making a game, a fighting game and I have enemys, enemy1, enemy2 and so on…

is it possible (for actionscrip use) to have one variable say “enemys” and add all the enemys to the variable??

i.e.

enemys = \_parent.enemy1 “and” \_parent.enemy2 “and” \_parent.enemy3 …

is there a better way to achieve this??

thanx in forehand!
