[Laszlo-dev] changing the Framerate, Framerate's in SWF9
henry.minsky at gmail.com
Tue Jan 29 06:01:14 PST 2008
There is a property named swf.frame.rate that the compiler uses internally.
You can set this property from the command line
$ lzc -Dswf.frame.rate=12 hello.lzx
On Jan 29, 2008 5:56 AM, Sebastian Wagner <seba.wagner at gmail.com> wrote:
> Is there any way how to change the frame-rate of an generated SWF from
> OpenLaszlo at the moment? I know that it must be some kind of hard coded in
> the compiler anywhere. Or can it be done by using an internal attribute in
> the canvas which is not docs?
> In AS3 / SWF9 you can set it using ActionScript, but you still cannot set it
> for *any* MovieClip only for the hole SWF.
> Why is it that hard to change the frame-rate by an simple attribute in the
> canvas-tag? Would it destroy the timer-events or the animator/animatorgroups
> if you change the FPS? Currently FPS is at 30 i think. For Streaming Content
> this is very bad as FlashPlayer on OSx and Linux has a Bug/Issue/CPU-Problem
> (CPU Load is at 100++%), it only works with 12 FPS.
> is there any workaround how I can build an SWF with different FPS?
> Sebastian Wagner
> seba.wagner at gmail.com
hminsky at laszlosystems.com
More information about the Laszlo-dev