# Breaking Instance Name

**URL:** <https://forum.kirupa.com/t/breaking-instance-name/293376>\
**Category:** flash\
**Created:** [July 28, 2009, 6:38am UTC](https://forum.kirupa.com/t/breaking-instance-name/293376 "2009-07-28T06:38:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romit\_2034](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Post date:** [July 28, 2009, 6:38am UTC](https://forum.kirupa.com/t/breaking-instance-name/293376/1 "2009-07-28T06:38:54Z")

</div>

Hey,

So for one of my project I am trying to call movieClips that are named in the series of png1\_mc, png2\_mc…png30\_mc… I need to call these randomly when am instance is triggered

Something in the lines of

```auto

var mv63:Tween = new Tween([COLOR=Red]png+id_mc[/COLOR],"scaleX", Regular.easeInOut, 0, 1,0.5,true);

```

Where in png+id\_mc, id is the string value of the integer I am randomly generating. Now I don’t know how to get this to work, as flash does not allow me to break the instance name like that. Any Idea how to get this done?
