# Load image into existing movieclip

**URL:** <https://forum.kirupa.com/t/load-image-into-existing-movieclip/242765>\
**Category:** flash\
**Created:** [October 30, 2007, 6:02am UTC](https://forum.kirupa.com/t/load-image-into-existing-movieclip/242765 "2007-10-30T06:02:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zosia](https://avatars.discourse-cdn.com/v4/letter/z/c0e974/32.png) [@Zosia](https://forum.kirupa.com/u/Zosia)\
**Post date:** [October 30, 2007, 6:02am UTC](https://forum.kirupa.com/t/load-image-into-existing-movieclip/242765/1 "2007-10-30T06:02:34Z")

</div>

Hi!

I need to load an image into existing movieclip with LINKAGE ID

this is an example code:

```auto
     var dynamicClass:String = "LINKAGE_NAME"+i;
     var classRef:Class = getDefinitionByName(dynamicClass) as Class;
     var page:MovieClip = new classRef();
     addChild(page);
     page.addChild(loader);
     loader.load(request);

```

it works, but it adds ANOTHER movieclip into the scene.  
and i know why - _addChild(page)_.  
i want to load image directly to **exisiting movie clip THAT IS ALREADY IN THE SCENE**.  
i mean when loading is complete there is a 2 movie clips in the scene:  
one with an image we loaded, and one is empty.  
if i cut this line: addChild(page);  
there is nothing exept an empty movie clip - where i need to load an image.

help me out please
