about full screen:
 switch (Application.application.stage.displayState) {
   case StageDisplayState.FULL_SCREEN:
    /* If already in full screen mode, switch to normal mode. */
    Application.application.stage.displayState =  StageDisplayState.NORMAL;
  break;
 default:
      /* If not in full screen mode, switch to full screen mode. */
      Application.application.stage.displayState = 
StageDisplayState.FULL_SCREEN;
 }

Reply via email to