flash全屏输入模式

params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
params.allowFullScreenInteractives = "true";
params.wmode = "direct";
 

private function _clickfunll(evt:MouseEvent):void
{
  trace("click..");
  this.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
}
private function _init(evt:Event):void
{
  this.stage.doubleClickEnabled = true;
  this.stage.addEventListener(MouseEvent.DOUBLE_CLICK,_clickfunll);

}

原文地址:https://www.cnblogs.com/as3lib/p/5587212.html