Similer in As2 only and Much more Esier in As3
function goScaledFullScreen(e:MouseEvent):void
{
if(stage.displayState == StageDisplayState.NORMAL)
{
stage.displayState = StageDisplayState.FULL_SCREEN;
} else {
stage.displayState = StageDisplayState.NORMAL;
}
}
you can trigger this function use of a Button
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment