stage.addEventListener(FullScreenEvent.FULL_SCREEN, fullScreenHandler);
function fullScreenHandler(e:FullScreenEvent) {
if(!e.fullScreen){ //you just returned back to normal
topMC.addChild(player);
player.setSize(640, 360)
}else{ //you just entered full screen mode
xxx.addChild(player);
player.setSize(stage.stageWidth, stage.stageHeight)
}
};
as3 embed youtube player fullscreen problem
2011年5月16日 星期一 by Hu, Ching-Hsiang
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言