# Dynamic movieclip name into AS3

**URL:** <https://forum.kirupa.com/t/dynamic-movieclip-name-into-as3/243867>\
**Category:** Uncategorized\
**Created:** [November 12, 2007, 1:57am UTC](https://forum.kirupa.com/t/dynamic-movieclip-name-into-as3/243867 "2007-11-12T01:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [November 12, 2007, 1:57am UTC](https://forum.kirupa.com/t/dynamic-movieclip-name-into-as3/243867/1 "2007-11-12T01:57:53Z")

</div>

hi  
in AS2 I often give a certain mc a new value such as myMC.moveSpeed. Now how do I do the same thing in AS3? I thought of directly creating a new variable in the stage, but what I need is to create the same variable to 10 mcs: mc\_1, mc\_2, mc\_3(created those dynamically)

---

<div class="post-metadata">

**Author:** ![jt\_developer](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jt\_developer](https://forum.kirupa.com/u/jt_developer)\
**Post date:** [July 11, 2008, 3:04pm UTC](https://forum.kirupa.com/t/dynamic-movieclip-name-into-as3/243867/2 "2008-07-11T15:04:33Z")

</div>

Hi, I’m new to AS3 and I’ve been doing AS2 for a long time without using OOP or Classes, so I’m finding it really hard to convert. I have a similar problem to the above. I have created 5 movieclips and placed them all on to the stage. I have given each one a name, i.e. where OBJ is the Object, in a for loop using i as the integer…:  
OBJ.name = “mov”+i;

…which works fine. However how, now, do I for example tell “mov1” to move 10 spaces from another method? Any help desperately needed. thanks
