# Attach movie

**URL:** https://forum.kirupa.com/t/attach-movie/32026
**Category:** flash
**Created:** [September 30, 2003, 5:51pm UTC](https://forum.kirupa.com/t/attach-movie/32026 "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/32026/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 ?
