Very bumpy group scrolling on Android tablets

Scott Rossi scott at tactilemedia.com
Tue Dec 10 11:40:38 EST 2013


Hi Mark:

Are your images already loaded in the group when the card opens?  Are they
referenced or imported?  If they're referenced, maybe LC is taking time to
pull in the image data during the first scroll (just a guess).  Also, is
your scrolling group a "top level" group, meaning that it is not nested
inside another group?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/10/13 7:21 AM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
wrote:

>Hi,
>
>I'm having a problem with scrolling groups using the native scroller on
>Android devices (and possibly iOS devices). The group contains
>approximately 100 images and 100 buttons. The formattedWidth is
>approximately 2500 pixels.
>
>When I start scrolling the group horizontally, the first time I scroll
>it till the end is extremely bumpy. Every time, the Android tablet will
>warn me, saying that the app is frozen and asking me to force-quit or
>wait. Once I have managed to scroll till the end one time, everything
>works perfectly smoothly.
>
>When I leave the card and come back to it, it all starts from the
>beginning again. I have to scroll till the end to obtain smooth
>scrolling again.
>
>I have added a handler that scrolls the group till the end and back
>after the openCard handler has finished running and I wait 50 millisecs
>with messages before I set the hScroll of the group to 0 again.
>
>I have tried every possible combination of layermodes, changing the
>layermodes of buttons, images and the group (9 different combinations).
>Nothing fixes the problem.
>
>Does anyone else have this bumpy experience with scrolling groups? Is
>there a solution?
>
>-- 
>Best regards,
>
>Mark Schonewille
>
>Economy-x-Talk Consulting and Software Engineering
>Homepage: http://economy-x-talk.com
>Twitter: http://twitter.com/xtalkprogrammer
>KvK: 50277553
>
>Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
>colour spaces. http://www.color-converter.com
>
>Buy my new book "Programming LiveCode for the Real Beginner"
>http://qery.us/3fi
>
>Fill out this survey please
>http://livecodebeginner.economy-x-talk.com/survey/
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>






More information about the Use-livecode mailing list