Mobile Scroller with Snapping?

Scott Rossi scott at tactilemedia.com
Tue Dec 11 15:27:20 EST 2012


Has anybody been able to set up a mobile scroller with scrolling that
"snaps" to a predefined distance?

I have a set of icons in a vertical scroller which I want to snap to a
multiple of the icon height once the scroller completely decelerates/stops
dragging.  Using 5.5.1, the routine I built works fine in the iOS simulator
but intermittently fails on an iPhone 4 in that the snap doesn't always
occur.  The code is apparently executing correctly, both scrollerEndDrag and
scrollerEndDecelerate messages are being received, but again apparently
intermittently.

I'm trying to submit this week so am under  the gun time-wise.  Thanks for
any suggestions.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design





More information about the use-livecode mailing list