# Too simple to find the answer myself? Center a dynamically loaded MC

**URL:** <https://forum.kirupa.com/t/too-simple-to-find-the-answer-myself-center-a-dynamically-loaded-mc/253324>\
**Category:** flash\
**Created:** [February 29, 2008, 3:32am UTC](https://forum.kirupa.com/t/too-simple-to-find-the-answer-myself-center-a-dynamically-loaded-mc/253324 "2008-02-29T03:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artriste](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@artriste](https://forum.kirupa.com/u/artriste)\
**Post date:** [February 29, 2008, 3:32am UTC](https://forum.kirupa.com/t/too-simple-to-find-the-answer-myself-center-a-dynamically-loaded-mc/253324/1 "2008-02-29T03:32:59Z")

</div>

This should be simple?  
I just want to center my dynamically loaded movieclip, into it’s container box.  
Not center on the stage, but make it center with the container\_mc it loads in.

You know when you load a external swf, it loads from the top left corner.  
How can the loaded image or movie load centered instead of aligned top-left?

I am actually using the XML thumbnail gallery here at kirupa.  
[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

I’m pretty advanced with flash… I just can’t seem to solve this question…
