开发者

framerate flash loader issuse

开发者 https://www.devze.com 2023-02-14 20:46 出处:网络
I have the next problem: My main application loads different external swf into the Loader component. All those external swf have different frameRate but it inherits the frameRate of main application

I have the next problem:

My main application loads different external swf into the Loader component. All those external swf have different frameRate but it inherits the frameRate of main application that is the problem. My idea was to get the frameRate of the loaded swf and change the frameRate of main stage according t开发者_开发问答o loaded value. But I didn't find any way how I can do it.

Please, help!


If you can get loaded SWF's bytes, you can parse header to get frameRate. There are lot of such parsers ready, for example this.

0

精彩评论

暂无评论...
验证码 换一张
取 消