3 Replies Latest reply on May 30, 2011 11:27 AM by Shongrunden

    Scroller not scrolling smoothly

    ShahRonak

      Hi,

       

      In my project, I am having 10 Skinnable containers.

       

      And for them I have a skin class (written in MXML) so that they can look like a Border container.

       

      These containers are kept in a scroller.

       

      On flash builder simulator it scrolls perfectly.

       

      but when I deploy it on the device(BB Playbook),it doesn't scroll smoothly.

       

      Do anyone know about this problem???

       

      Thanks in advance

       

      Ronak Shah

        • 1. Re: Scroller not scrolling smoothly
          Shongrunden Adobe Employee

          Sounds like this may be a performance issue.  How complicated is the contents of your Scroller?  Do you know if your application also doesn't scroll smoothly on Android?

          • 2. Re: Scroller not scrolling smoothly
            ShahRonak Level 1

            Ya as I said that I am using 10 skinnable containers and in each of the containers I am having 4 Labelfield and an image.

             

            So I dont think this is becoming too heavy for the device to handle.

             

            Can this be a problem because I am using MXML components for Customizing the skinnable component???

             

            Should I go with Actionscript for customization???

            • 3. Re: Scroller not scrolling smoothly
              Shongrunden Adobe Employee

              In general I have found performance on BlackBerry PlayBook to be very good, but it's still not going to be as fast as a powerful desktop computer.  If the contents of your SkinnableContainers are unnecssarily complicated that might have a negative effect.  Have you tried this on an Android device to see how it compares?

               

              Moving from MXML skins to ActionScript skins will result in better performance. Check out this presentation for some general guidelines and tips on optimizing your Flex applications.

               

              Flex doesn't officially support BlackBerry PlayBook yet (coming shortly) so it's possible that the build you are using isn't optimized yet.  If you would like you can send me your project and I can investigate a little further on the latest builds.