Page 1 of 1
Momentum scrolling up and down an image.
Posted: Sun Feb 03, 2013 5:41 am
by abanowBUSTfGf
I have a single very long vertical image that I want to momentum scroll up and
down via a touchscreen. Is there any Livecode script for this. Currently, dragging the finger up and
down the screen is very slow. I'm deploying on a Samsung Galaxy tablet.
Regards
Re: Momentum scrolling up and down an image.
Posted: Sun Feb 03, 2013 11:56 pm
by jacque
Are you using a native Android scroller?
Re: Momentum scrolling up and down an image.
Posted: Mon Feb 04, 2013 7:11 am
by abanowBUSTfGf
Hi, I'm using the normal tablet touchscreen but this never does any momentum scrolling
Re: Momentum scrolling up and down an image.
Posted: Mon Feb 04, 2013 10:07 pm
by jacque
LiveCode provides a way to create scrollers that are native on mobile devices. These work differently than the built-in scrollbars and can do what you want. You need to set them up in a script. Here is a lesson about it:
http://lessons.runrev.com/s/lessons/m/4 ... ll-a-field
The lesson works with a scrolling field, but if you group your image and scroll the group instead, it will be the same.