3/22/2010

Stage Full Screen and Scale Modes

Quick snippets for full screen and scale modes.

FULLSCREEN
import flash.display.StageDisplayState; stage.displayState = StageDisplayState.FULL_SCREEN; options: StageDisplayState.NORMAL; StageDisplayState.FULL_SCREEN;

SCALEMODE import flash.display.StageScaleMode; stage.scaleMode=StageScaleMode.SHOW_ALL; options: StageScaleMode.SHOW_ALL StageScaleMode.EXACT_FIT StageScaleMode.NO_BORDER StageScaleMode.NO_SCALE

No comments:

Post a Comment