Page 1 of 1

Framerate drops very low when using Flex

Posted: 14 Sep 2009, 21:01
by helloniklas
I'm experiencing very low framerates when loading in a world in a Flex app (with nothing else apart from the OpenspaceWrapper instance and a few buttons). It drops down to 14 fps and below. The same world loaded in an Actionscript app runs at 30 fps.

Any ideas to why?

Posted: 15 Sep 2009, 21:57
by Bax
We never experienced such behavior. Well, the Flex framework is of course "heavier" than using Flash, but no idea why you get such a big difference in framerate. We suggest you to use the Flex profiler to try understanding what is going on.

Posted: 15 Sep 2009, 22:52
by helloniklas
Ok, found it. Seems this only happens if the parent container is of <mx:Canvas> I changed to <mx:Container> and it runs fine...