# Attaching a Movieclip

**URL:** <https://forum.kirupa.com/t/attaching-a-movieclip/148148>\
**Category:** Uncategorized\
**Created:** [May 17, 2005, 1:13pm UTC](https://forum.kirupa.com/t/attaching-a-movieclip/148148 "2005-05-17T13:13:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hematite](https://avatars.discourse-cdn.com/v4/letter/h/848f3c/32.png) [@hematite](https://forum.kirupa.com/u/hematite)\
**Post date:** [May 17, 2005, 1:13pm UTC](https://forum.kirupa.com/t/attaching-a-movieclip/148148/1 "2005-05-17T13:13:18Z")

</div>

Hi folks,

Can anyone please help? I am so lost!

menu\_mc.building\_btn.onRelease = function() {  
\_root.box.attachMovie(“movie1\_mc”, “panel”, 99);  
};  
menu\_mc.dogs\_btn.onRelease = function() {  
\_root.box.attachMovie(“movie2\_mc”, “panel”, 99);  
[color=red]};  
menu\_mc.scrap\_btn.onRelease = function() {  
\_root.box.attachMovie(“movie3\_mc”, “panel”, 99);  
};[/color]

I have movie clips as buttons I did the same method as the previous ones but the third movieclip will not work can anyone help please.
