# How to position loaded mc on browser resize

**URL:** <https://forum.kirupa.com/t/how-to-position-loaded-mc-on-browser-resize/308129>\
**Category:** Uncategorized\
**Created:** [April 17, 2010, 6:23pm UTC](https://forum.kirupa.com/t/how-to-position-loaded-mc-on-browser-resize/308129 "2010-04-17T18:23:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![krizinxgren](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@krizinxgren](https://forum.kirupa.com/u/krizinxgren)\
**Post date:** [April 17, 2010, 6:23pm UTC](https://forum.kirupa.com/t/how-to-position-loaded-mc-on-browser-resize/308129/1 "2010-04-17T18:23:18Z")

</div>

hello hello

how can i position an externally loaded MC on browser size were if the browser is resized the mc follows and stays in view instead of been shifted out of view

i can get it to work if my MC is on stage but it dont work if the MC was loaded externally it loads but does not position/follow the browser edge and goes out of view below is the AS2 code i am woking with if sombody knows please a little help

thanks and hav a nice day  
st

Stage.scaleMode = “noScale”;Stage.align = “TL”; var stageListener:Object = new Object ();stageListener.onResize = positionContent;Stage.addListener (stageListener);positionContent
