# Targeting instances

**URL:** <https://forum.kirupa.com/t/targeting-instances/267063>\
**Category:** flash\
**Created:** [July 28, 2008, 9:59am UTC](https://forum.kirupa.com/t/targeting-instances/267063 "2008-07-28T09:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![22celin\_b](https://avatars.discourse-cdn.com/v4/letter/2/2acd7d/32.png) [@22celin\_b](https://forum.kirupa.com/u/22celin_b)\
**Post date:** [July 28, 2008, 9:59am UTC](https://forum.kirupa.com/t/targeting-instances/267063/1 "2008-07-28T09:59:06Z")

</div>

Hi there,

I have a function that attaches a movie clip to the stage each time at a new level.

myLevel++

attachMovie(“myMovieClip”, “instanceName”+myLevel, myLevel)

}

At the moment it works just fine but I want to target specific instances and I can’t work out the instance names.

I am trying this…

instanceName[myLevel].\_x = 400

Does anyone know how I can do this? Any help would be appreciated, thanks. AS2 by the way
