开发者

Change playback of flash object via html or javascript

开发者 https://www.devze.com 2023-02-12 01:31 出处:网络
is it possible to change the playback speed of a flash开发者_开发问答 object without having to recompile the flash object, i.e through the html attributes or javascript?

is it possible to change the playback speed of a flash开发者_开发问答 object without having to recompile the flash object, i.e through the html attributes or javascript?

thanks in advance


No, but you can call a function within your SWF file from JavaScript (ExternalInterface. addCallback) that changes your animation's FPS... However, you would need to create the function in your flash file and recompile it once.

You could also create a loader SWF that has this functionality, and load your old flash movie from it.

0

精彩评论

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