0 Replies Latest reply on Dec 2, 2012 3:07 AM by DanDinu

    Flex Mobile: channging default application frameRate

    DanDinu

      Guys,

       

      I'm developing a flex game which is really jerky and not smooth at all on mobile devices.

      I changed the application framRate to 60 in my mxml file and it seems to run smoother (but not as it should). Does this have any impact on performance?

       

      Is there any other way to do this? I don't have long and complex operations and i'm saying this because i found some open source libraries through which i can use async threads. But i read that this has downsides also.

       

      I'm really confused because the only objects i have on stage are:

      15 Image objects, each one with a Move object attached and an OnClick listener.

      4 timers that repeat each 500 ms, 1 second, 2 seconds and 5 seconds.

      The longest operation in the listeners and timers is O(n) where n = image count = 15, but most of them are O(1)

       

       

      All the objects are created on view creationComplete event and i reuse them throughout the entire time.

      Memory is managed correctly, i checked using memory profiler.

       

      Can you point me in some directions?

       

      Thank you!