# attachMovie Question

**URL:** <https://forum.kirupa.com/t/attachmovie-question/150515>\
**Category:** Uncategorized\
**Created:** [June 8, 2005, 2:59am UTC](https://forum.kirupa.com/t/attachmovie-question/150515 "2005-06-08T02:59:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghjr](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@ghjr](https://forum.kirupa.com/u/ghjr)\
**Post date:** [June 8, 2005, 2:59am UTC](https://forum.kirupa.com/t/attachmovie-question/150515/1 "2005-06-08T02:59:53Z")

</div>

This is driving me nuts… is it impossible to use attachMovie inside a movieclip you used loadMovie on? For example, I have this but it doesn’t work out:

```auto

imageHolder_mc.loadMovie("firstImage.jpg");
imageHolder_mc.attachMovie("secondImage_mc","attachedImage_mc",1);

```

Why doesn’t this just load the **firstImage.jpg** through the loadMovie method and then create an **attachedImage\_mc** on the **imageHolder\_mc** (with the **secondImage\_mc** )? All its doing as of now is loading the first image… then if I comment the loadMovie part, it attaches the second image.

EDIT: Just a little more info. Basically I have a movieclip called imageHolder\_mc that I created manually on stage. This movieclip calls LoadMovie to load in a JPG, but later on I need too replace the entire content of it with a movieclip from the library (still keeping the imageHolder\_mc instance name). Any ideas?

Cheers!
