if (Stage.displayState == "normal") { Stage.displayState = "fullScreen"; } else { Stage.displayState = "normal"; } // end else if