# Resizing and centering child holder on stage, after loading external photo?

**URL:** <https://forum.kirupa.com/t/resizing-and-centering-child-holder-on-stage-after-loading-external-photo/320918>\
**Category:** Uncategorized\
**Created:** [April 5, 2011, 4:26pm UTC](https://forum.kirupa.com/t/resizing-and-centering-child-holder-on-stage-after-loading-external-photo/320918 "2011-04-05T16:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liner986](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@liner986](https://forum.kirupa.com/u/liner986)\
**Post date:** [April 5, 2011, 4:26pm UTC](https://forum.kirupa.com/t/resizing-and-centering-child-holder-on-stage-after-loading-external-photo/320918/1 "2011-04-05T16:26:54Z")

</div>

hey guys,

the titles pretty much says it all;  
im loading photos of different aspect ratios with a loader onto a child holder frame\_mc. I wanted to know what AS3 commands do i need to work on to get the frame\_mc to resize to the new childs dimensions and centerize itself on the main stage? (as in event listeners, functions, vars etc)

cheers for any thoughts
