[ANN] Momentum Scrolling 0.1

Thomas McGrath III mcgrath3 at mac.com
Tue Dec 8 08:39:04 EST 2009


Scott,

Works great. Have you taken a look at the great mouse gesture lib by  
Malte? These are different approaches but are both very helpful in  
'emulating' a touch screen device. They work best for revlets on the  
web emulating the iPhone for people wanting to show off their iPhone  
software online.

> Hey,
>
> as sitting in hotels in the middle of nowhere is boring, I took a  
> couple of hours to write a little lib to implement mouse gestures in  
> Rev. You can find it either in the new revOnline or type in the  
> messagebox:
>
> go stack URL "http://www.derbrill.de/fun/libMouseGestures.rev"
>
> This lib enables you to implement mouse gestures in your own stacks.  
> Just start using the stack by issuing:
>
> start using stack "libMouseGestures"
>
> To tell a control or card to listen to gestures you need to set a  
> custom property of that control or card to true:
>
> set the libGest["listenToGestures"] of this card to true



Tom McGrath III
Lazy River Software
3mcgrath at comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html



On Dec 8, 2009, at 6:35 AM, Scott Rossi wrote:

> Hello List:
>
> As a result of some touch screen experiments (and because it's a  
> personal
> interest) I'm posting a first step toward a Rev "gesture library" of  
> sorts
> -- a demo of a momentum scrolling effect similar to that found on  
> Apple's
> iPhone and other touch screen devices. The stack demonstrates a  
> method to
> drag-scroll a grouped control, have the scrolling gradually  
> decelerate, and
> "bounce-back" when scrolling exceeds the set margins of the control.
>
> The demo stack requires Rev 3.5 or later.  Execute the following in  
> your Rev
> message box:
> go url "http://www.tactilemedia.com/download/MomentumScroll_01.rev"
>
> Use of the code is explained on the last card in the stack.  The  
> library
> still has a ways to go -- again, it's a first step -- but I thought  
> folks
> might be interested in taking a look at early development.  I'm  
> hoping this
> can be of use when Rev runs on touch screen devices in the future.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list