# attachMovie incorrectly positioning clips

**URL:** <https://forum.kirupa.com/t/attachmovie-incorrectly-positioning-clips/156465>\
**Category:** flash\
**Created:** [July 25, 2005, 11:47pm UTC](https://forum.kirupa.com/t/attachmovie-incorrectly-positioning-clips/156465 "2005-07-25T23:47:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgomez03](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mgomez03](https://forum.kirupa.com/u/mgomez03)\
**Post date:** [July 25, 2005, 11:47pm UTC](https://forum.kirupa.com/t/attachmovie-incorrectly-positioning-clips/156465/1 "2005-07-25T23:47:16Z")

</div>

I’m using a Movie Clip (mc1) as a button and for it to be able to function with a mouse click, I placed a Button symbol (b1) inside of the Movie Clip and put some ActionScript onto the nested Button symbol:

```auto
on (release) {
	_parent.attachMovie("mc2_id", "dot", 100);
	dot._x=150;
	dot._y=100;
}

```

As you can see, I’m trying to get another Movie Clip (mc2) onto the stage and that part works fine, but for some reason it keeps ending up at the top-left corner of the stage even though my code says otherwise. What am I missing? I’m including the .fla if anyone would be kind enough to look at it.

Any help appreciated.

Also, when I was setting the linkage properties for the clip to be attached, I had to enable the “Export in first frame” function just so it would work (I normally don’t since I was told it would kill a preloader if I had one); how would you export things without having this box checked if you normally don’t do that sort of thing because of a preloader?
