Auto-Resizing and Centering movie in AS 2.0

Hi all,
I have a request to bulid the Flash website looking somewhat similar to Labello
I need a fullscreen flash that position elements dinamically, based on the stage dimensions. I found this tutorial on Kirupa:
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?