Flash AS3.0 actionscript全屏播放代码

my_btn.addEventListener(MouseEvent.CLICK,fs);//监听事件
function fs(evt:MouseEvent):void {
switch (stage.displayState) {
case "normal" :
stage.displayState="fullScreen";
break;
case "fullScreen" :
default :
stage.displayState="normal";// 默认标准窗 break;                                                                                                                                     


}
}



转载出处:http://blog.csdn.net/lxlzhn/archive/2009/08/19/4462587.aspx

你可能感兴趣的:(.net,Blog,Flash,idea,actionscript)