# No one has ever explained to me how to do this

**URL:** <https://forum.kirupa.com/t/no-one-has-ever-explained-to-me-how-to-do-this/274366>\
**Category:** flash\
**Created:** [October 29, 2008, 12:58am UTC](https://forum.kirupa.com/t/no-one-has-ever-explained-to-me-how-to-do-this/274366 "2008-10-29T00:58:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RossKidd](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Post date:** [October 29, 2008, 12:58am UTC](https://forum.kirupa.com/t/no-one-has-ever-explained-to-me-how-to-do-this/274366/1 "2008-10-29T00:58:39Z")

</div>

I have come across this problem many times and have never really been explained to how this can be done.

I want to create 10 movieclips from my library, then I want to name them incrementally (ross1, ross2, ross3 etc) then I want to use this name within the loop to change the width. Below is what I am trying to do but the syntax is VERY wrong. Can anyone help?

```
for(var i:int;i&lt;10;i++){

var newCircle:MovieClip = new myCircle();
newCircle.name = "ross" + i;
addChild("ross"+i);

"ross"+i.width = 300;

```

}
