//as3:
stage.displayState=StageDisplayState.FULL_SCREEN;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//as1,as2:
fscommand("fullscreen", "true");