文章列表
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; ...