Framerate drops very low when using Flex

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
helloniklas
Posts: 21
Joined: 14 Sep 2009, 10:18
Location: London
Contact:

Framerate drops very low when using Flex

Post 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?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post 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.
Paolo Bax
The SmartFoxServer Team
helloniklas
Posts: 21
Joined: 14 Sep 2009, 10:18
Location: London
Contact:

Post 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...
Post Reply