Constrained grab

Richmond richmondmathewson at gmail.com
Sun Jan 22 02:34:33 EST 2012


On 01/22/2012 06:02 AM, Bob Sneidar wrote:
> Oh, it was the blob that threw me. I was certain that LC did not provide a "blob" object. :-)

No, it doesn't; hence the quotes.

I was using an image that, in a fit of creativity, I called "blob".

>
> Bob
>
>
> On Jan 21, 2012, at 1:27 PM, Richmond wrote:
>
>> On 01/21/2012 10:30 PM, Bob Sneidar wrote:
>>> Richmond has been imbibing again...
>>>
>>>
>> Not so:
>>
>> on mouseDown
>>   set the idleRate to 0
>>   grab me
>> end mouseDown
>>
>> on mouseStillDown
>>   set the loc of me to (item 1 of the loc of me, 250)
>> end mouseStillDown
>>
>> try it!
>>
>> admittedly one's object does perform a slightly drunken wobble . . .  :)
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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