# Resize background, keep stage/info centred?

**URL:** <https://forum.kirupa.com/t/resize-background-keep-stage-info-centred/286018>\
**Category:** Uncategorized\
**Created:** [April 8, 2009, 8:15pm UTC](https://forum.kirupa.com/t/resize-background-keep-stage-info-centred/286018 "2009-04-08T20:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evil\_genius](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@evil\_genius](https://forum.kirupa.com/u/evil_genius)\
**Post date:** [April 8, 2009, 8:15pm UTC](https://forum.kirupa.com/t/resize-background-keep-stage-info-centred/286018/1 "2009-04-08T20:15:15Z")

</div>

here’s the problem.

i’ve designed a website for someone who now wants it in flash - which is fine, but i stupidly bought an AS2 set of buttons and an AS3 image gallery.

My knowledge of flash barely skims past flash 4, so AS2 is prefered as i cannot work out how to give a button a command in AS3 let alone anything else.

He wants the background to resize depending on the resolution, so i found this:

[http://www.kirupa.com/developer/as3/resizing\_centering\_as3.htm](http://www.kirupa.com/developer/as3/resizing_centering_as3.htm)

which oddly enough, regardless of how many times i try the tutorial, DOES NOT WORK, however the source file does, and for the sake of my sanity, that is enough.

I need to create a loader or movieclip, and load all the external swf’s inside. I can do this with AS2, no problem.

So rather than give myself a headache trying to work out how to do it in AS3, can anyone provide instructions for the background/stage stuff as in the tutorial, but in AS2?

I have spent 2 days browsing the net and cannot find anything that works.

Any help is much appreciated.
