# Loading Images into Empty Movieclip

**URL:** https://forum.kirupa.com/t/loading-images-into-empty-movieclip/217920
**Category:** flash
**Created:** [March 2, 2007, 10:08pm UTC](https://forum.kirupa.com/t/loading-images-into-empty-movieclip/217920 "2007-03-02T22:08:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cyandi\_man](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@cyandi\_man](https://forum.kirupa.com/u/cyandi_man)
#### Post date: [March 2, 2007, 10:08pm UTC](https://forum.kirupa.com/t/loading-images-into-empty-movieclip/217920/1 "2007-03-02T22:08:58Z")

</div>

first step:

How do i position dynamically loaded images inside of an empty movieclip?

The empty movie clip is named “cldImage”  
i tried to give the content loaded an instance name of content\_mc and reposition it:

var content\_mc:MovieClip = cldImage.content;  
content\_mc.\_x = 100 ;  
contetnt\_mc.\_y = 200 ;

However that did not work…the image is still positioned to the bottom right of the center of the movclip cldImage.

i know that movieclips have a default registration in the center - and image registrations are in the top left corner - what i am trying to achieve is to have the image load in the center of my stage in which the empty movieclip itself is placed.

any suggestions?
