# attachMovie

**URL:** <https://forum.kirupa.com/t/attachmovie/257251>\
**Category:** Uncategorized\
**Created:** [April 11, 2008, 5:54pm UTC](https://forum.kirupa.com/t/attachmovie/257251 "2008-04-11T17:54:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lurkero1](https://avatars.discourse-cdn.com/v4/letter/l/f07891/32.png) [@lurkero1](https://forum.kirupa.com/u/lurkero1)\
**Post date:** [April 11, 2008, 5:54pm UTC](https://forum.kirupa.com/t/attachmovie/257251/1 "2008-04-11T17:54:02Z")

</div>

Adobe Flash CS3  
publishing as Flash 8, AS 2.0

i have a movieclip named menu (instance name = mainmenu).  
inside of that there is a button named btn\_about (instance name = about).  
on the main stage there is an empty movieclip named empty\_mc (instance name = mcholder, linkage id = empty)  
i want a user to press the button which causes a movieclip in the library named tesst (Linkage name = testid) to load into the empty movieclip (mc\_holder).  
Here is the code on the button:

on (release) {  
this.\_parent.mcholder.attachMovie(“testid”, “tesst1”, this.getNextHighestDepth());  
}

it does not work and i’m pulling what’s left of my hair out. any ideas?

[CENTER]**[COLOR=red]“Some Days It’s Just Not Worth Chewing Through The Restraints…”[/COLOR]**[/CENTER]
