In the small test app I have with animated squares, the animation seems a
little
jerky.
It seems to be that the same app compiled for swf8 (we compile swf8 to 30
fps)
had smoother animation than this app compiled swf9.

The Idle loop is set to 33 msec update rate in the LFC in swf8.

I don't know what the default frame rate is for swf9 apps compiled with the
flex compiler,
but I tried upping the Idle update rate in the LFC to 16 msecs, and set the
frame rate of the app to 60 frames/sec, and the animation looks smoother
now.


I'm not sure how this will scale up for an app which has a lot of stuff on
the display.
Hopefully we can be smarter about bitmap caching to lighten the burden of
redrawing the entire canvas each frame.

Maybe there are some other parameters I don't know about, related to how
redraw
is done. I do recall reading in the Actionscript 3 book that there is a
special call
you can make when handling mouse events to cause an immediate redraw to
happen,
which increases the perceived responsiveness of the app, because it doesn't
wait
until the next frame update time to redraw things. We should definitely look
at using
this hook in the kernel!





-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to