2011-03-06 73 views

回答

1

這樣的:

cp.x = stage.stageWidth/2 - cp.width/2; 
cp.y = stage.stageHeight/2 - cp.height/2; 
+0

不是在中心和IE9它是完全過的真... – Yan 2011-03-06 20:10:39

+0

是不是有像 「horizo​​ntalCenter」 什麼?如flex4 – Yan 2011-03-06 20:12:03

+0

是在瀏覽器中以100%高度/寬度嵌入的swf? – jpea 2011-03-06 20:13:13