# Auto-Resizing and Centering movie in AS 2.0

**URL:** https://forum.kirupa.com/t/auto-resizing-and-centering-movie-in-as-2-0/288525
**Category:** flash
**Created:** [May 17, 2009, 3:35pm UTC](https://forum.kirupa.com/t/auto-resizing-and-centering-movie-in-as-2-0/288525 "2009-05-17T15:35:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cherny013](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cherny013](https://forum.kirupa.com/u/cherny013)
#### Post date: [May 17, 2009, 3:35pm UTC](https://forum.kirupa.com/t/auto-resizing-and-centering-movie-in-as-2-0/288525/1 "2009-05-17T15:35:57Z")

</div>

Hi all,  
I have a request to bulid the Flash website looking somewhat similar to Labello [http://www.labello.com/international/home.html](http://www.labello.com/international/home.html)  
I need a fullscreen flash that position elements dinamically, based on the stage dimensions. I found this tutorial on Kirupa:  
[http://www.kirupa.com/developer/as3/resizing\_centering\_as3.htm](http://www.kirupa.com/developer/as3/resizing_centering_as3.htm)  
I need to do the same, but in AS 2.0, since it is the requirement. Is there any tutorial or finished script for this or I just need to write the code from scratch, as I’m not so good in AS3?

Thanx!
