简体   繁体   中英

Change playback of flash object via html or javascript

is it possible to change the playback speed of a flash object without having to recompile the flash object, ie 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM