在网页中,即html中,width=100% height = 100% 一定要有。
然后算出flashPlayer的高度和宽度。
给stage加 eventListener,侦听flashplayer的resize,代码如下:
如何使flash自适应浏览器窗口的大小
最新推荐文章于 2021-06-15 23:44:29 发布
在网页中,即html中,width=100% height = 100% 一定要有。
然后算出flashPlayer的高度和宽度。
给stage加 eventListener,侦听flashplayer的resize,代码如下: