Re: a shake and a wiggle

2011-11-01 Thread André Bisseret
Thank you much Bernd for this nice script! very funny indeed! Best regards from Grenoble André Le 1 nov. 2011 à 08:09, BNig a écrit : > Hi Nicolas, > I post the script I sent you here for anybody who has followed this thread. > > Make a button called "wiggleBehavior" for the behavior of the o

Re: a shake and a wiggle

2011-11-01 Thread BNig
Hi Nicolas, I post the script I sent you here for anybody who has followed this thread. Make a button called "wiggleBehavior" for the behavior of the objects you want to delete by the gesture. Set it's script to: --- local sX, sLastTime, sCountWiggle =

Re: a shake and a wiggle

2011-10-31 Thread Nicolas Cueto
> :-) How do you imagine wiggling and shaking on a Windows computer? Picking the monitor up like an Etch-a-Sketch and shaking it wildly ^o^ Actually, moving the mouse over a very short distance with a very quick back-and-fro motion while holding down the mouse-left button. > Wouldn't > you rathe

Re: a shake and a wiggle

2011-10-31 Thread Mark Schonewille
:-) How do you imagine wiggling and shaking on a Windows computer? Wouldn't you rather have a the user select the object and press delete or drag the object either outside the app's working area or into a kind of trash can? -- Economy-x-Talk Consultancy and Software Engineering http://econ

Re: a shake and a wiggle

2011-10-31 Thread Nicolas Cueto
Oops. Just learnt that "touchMove" is only for iOS. My app is for Windows. Oh well. Back to my orginal question... -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage y

Re: a shake and a wiggle

2011-10-31 Thread Nicolas Cueto
> I think you can use some of the touchMove messages or whatever they're called > to find out whether the user is wiggling/shaking an object. Check the release > notes. Interesting. Which leads to a new question. Since my object's script uses AnimationEngine's "constrainRectangular", which the

Re: a shake and a wiggle

2011-10-31 Thread Mark Schonewille
Hi Nicolas, Yes, send a message in time will allow an object to delete itself. // stack script: on deleteObject theObject delete theObject end deleteObject // object script: on deleteMe put the long of me into myObject send "delete myObject" to this stack in 0 millisecs end deleteMe I thi