Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

HideScreen

Hidescreen lets the Simulator know that the screen is hidden from view. This tells the host that it should not overlay the device screen on top of the SWF.

Example

public function HideScreen(screenNumber:int, hidden:Boolean):void

If the screen is not visible to the user, set hidden to true to prevent the Simulator from overlaying the SWF.

Note: All Simulator screen overlays are turned off from the time OverlayOn is called with false until OverlayOn is called with true. This is done in part because animations may rotated the screen, and overlays are always at 90 degree angles.

Host Function

Function name: "HideScreen"

Parameters:

  • screenNumber:int
  • hidden:Boolean