# Attach movie

**URL:** <https://forum.kirupa.com/t/attach-movie/91220>\
**Category:** Uncategorized\
**Created:** [September 30, 2003, 5:51pm UTC](https://forum.kirupa.com/t/attach-movie/91220 "2003-09-30T17:51:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sceleratus](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Sceleratus](https://forum.kirupa.com/u/Sceleratus)\
**Post date:** [September 30, 2003, 5:51pm UTC](https://forum.kirupa.com/t/attach-movie/91220/1 "2003-09-30T17:51:30Z")

</div>

I have a small problem Im trying to attach a mc multiple times.

On frame 1 I have :  
attachMovie(“button”, “button1”, 0, {\_x:240, \_y:80, onPress:stopDrag, onRelease:stopDrag});

On frame 2 I have :  
attachMovie(“button”, “button2”, 0, {\_x:240, \_y:120, onPress:stopDrag, onRelease:stopDrag});

The problem is that the attachment done in frame 1 dissapears as soon as the script on  
frame 2 executes !

Anybody ?
