1.在載入SWF檔需帶入以下參數:
<object> ... <param name="allowFullScreen" value="true" /> <embed ... allowfullscreen="true" /> </object>
2.在AS3中的語法為
stage.displayState = StageDisplayState.FULL_SCREEN;
使用全螢
stage.displayState = StageDisplayState.NORMAL;
返回一般模式
1.在載入SWF檔需帶入以下參數:
<object> ... <param name="allowFullScreen" value="true" /> <embed ... allowfullscreen="true" /> </object>
2.在AS3中的語法為
stage.displayState = StageDisplayState.FULL_SCREEN;
使用全螢
stage.displayState = StageDisplayState.NORMAL;
返回一般模式