# \[mx04\] attachMovie button help

**URL:** <https://forum.kirupa.com/t/mx04-attachmovie-button-help/205863>\
**Category:** flash\
**Created:** [November 2, 2006, 7:15pm UTC](https://forum.kirupa.com/t/mx04-attachmovie-button-help/205863 "2006-11-02T19:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skellykitten](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@skellykitten](https://forum.kirupa.com/u/skellykitten)\
**Post date:** [November 2, 2006, 7:15pm UTC](https://forum.kirupa.com/t/mx04-attachmovie-button-help/205863/1 "2006-11-02T19:15:09Z")

</div>

I have one movieclip button( “bt”) that when pressed brings up another movieclip (“cont\_btn”) (using attachMovie) that i would like to give button properties to- but for some reason it’s not working, any ideas?  
here is the code I’m trying and isn’t working-

```auto

 wind1.bt.onPress = function(){ 
 headerText1.gotoAndPlay("b_txtIn");
 thisRoot.attachMovie("contactMC_btn","cont_btn", thisRoot.getNextHighestDepth());
cont_btn._x = 167;
cont_btn._y = 258;
cont_btn._rotation = -15;

 }

 thisRoot.cont_btn.onRelease = function(){
     trace("it works");
     }
  

```

it attaches the movie fine, but whe you click the “cont\_btn” it does nothing, as well as it doesn’t show the little hand cursor either.  
What the eventual goal is, is to be able to click another mcbutton and replace the cont\_btn with a new button, but have them in the same exact spot. Is it my target path?  
8-]
