# createEmptyMovieClip, attachMovie troubles

**URL:** <https://forum.kirupa.com/t/createemptymovieclip-attachmovie-troubles/21481>\
**Category:** flash\
**Created:** [May 22, 2003, 1:07am UTC](https://forum.kirupa.com/t/createemptymovieclip-attachmovie-troubles/21481 "2003-05-22T01:07:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evaler](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@Evaler](https://forum.kirupa.com/u/Evaler)\
**Post date:** [May 22, 2003, 1:07am UTC](https://forum.kirupa.com/t/createemptymovieclip-attachmovie-troubles/21481/1 "2003-05-22T01:07:30Z")

</div>

I’m trying to get pictures (changed into movieClips of course) from the library to load in an empty MC using  
\_root.createEmptyMovieClip(“empty”, 0);  
\_root.empty.\_x = 0;  
" "y = 0;

I can get them to load only if they are there own swf files I can’t figure out how to get the createEmptyMovieClip function to load from instants names

am I just stuck with making all the pictures into SWF files?

or is there some Flash pixies that fart on this project and make it all better?

I have tried attachMovie and I can’t get that to work either

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 1:43am UTC](https://forum.kirupa.com/t/createemptymovieclip-attachmovie-troubles/21481/2 "2003-05-22T01:43:05Z")

</div>

You have to link them to the movie and give them a variable name so that flash can use it. Right-click on the image from the library and select Linkage…play with it from there.
