Apache – Different framerate for loaded SWF file in Flex

apache-flex

Using The loader class of Adobe Flex, I load an external SWF file. However, the loaded SWF file has a different frameRate than my application.

Is it possible to have both the parent app and the loaded child app playing at different framerates? If so, how?

Best Answer

It's not possible.

Flash Player or Adobe AIR only uses a single frame rate for all loaded SWF files at any one time, and this frame rate is determined by the nominal frame rate of the main SWF file

There are two ways around this, change the framerate of the main swf to match the loaded one (this can be done during runtime) or decouple the animation from actual frames and use events to step it forward.

Related Topic