# Modular instance labels?

**URL:** <https://forum.kirupa.com/t/modular-instance-labels/190703>\
**Category:** Uncategorized\
**Created:** [June 14, 2006, 1:20am UTC](https://forum.kirupa.com/t/modular-instance-labels/190703 "2006-06-14T01:20:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Counterproductive](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Counterproductive](https://forum.kirupa.com/u/Counterproductive)\
**Post date:** [June 14, 2006, 1:20am UTC](https://forum.kirupa.com/t/modular-instance-labels/190703/1 "2006-06-14T01:20:22Z")

</div>

Hello,  
Ok, say I have a bunch of movie clips, and when some action is done to one of those i want something to happen with a coresponding movie clip.  
For example I have 2 movie clips, and when the first one is say drag and dropped and then hittetested i want to attach the movieclip that coresponds to the one that i just dragged.

ok say the clip that is dragged has an instance name and linkage of: movieclip  
and the one I want attached has an instance name and linkage of: movieclip\_on

I was thinking something like:

```auto
atmc = this._name+"_on";
this._parent.attachMovie(atmc, atmc, this.getNextHighestDepth(), position);

```

Buuut I can’t seem to get it to work.  
Is it possible to do this and how would I go about it?  
-Thx
