Center on stage automaticly with aS

Hi all flash gurus out there!

How do a make a center a mc automaticly on the stage with aS. The script should detect what the stage size is and move the mc to the middle.

I´m making smartclip-preloader and want to be as productive as possible later on.

Thanks for your help

Tony