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 <[EMAIL PROTECTED]> wrote: > hi, > > 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? > > thx, > sebastian > > -- > Sebastian Wagner > http://www.webbase-design.de > http://openmeetings.googlecode.com > http://www.laszlo-forum.de > [EMAIL PROTECTED] -- Henry Minsky Software Architect [EMAIL PROTECTED]
