Root / Stage size

Hi all …

Can I set the stage size after Ive detect the screen size…
tried this not no luck …


width = System.capabilities.screenResolutionX;

if(width <= 800)

loadMovieNum(“800.swf”, 0);

else
loadMovieNum(“1024.swf”, 0);

this works detecting screenresulotion
but after this I want to set the stage size
of my movie

Hope for Idears :-);