Re: a shake and a wiggle

2011-11-01 Thread André Bisseret
sue "makeNewButton" from the messageBox if you have > set the card script to the code above. > > Now you can wiggle a button and it will delete itself. Adjust the sampling > intervall and number of changes in direction as indicated in the script if > needed. > > Ki

Re: a shake and a wiggle

2011-11-01 Thread BNig
f. Adjust the sampling intervall and number of changes in direction as indicated in the script if needed. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-shake-and-a-wiggle-tp3955354p3962691.html Sent from the Revolution - User mailing li

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

a shake and a wiggle

2011-10-31 Thread Nicolas Cueto
Hello again. If an object is grabbed, what parameters could a script/behavior within that object poll to evaluate if the user is quickly shaking/wiggling that grabbed object? I'd like to use that shaking motion to delete the grabbed object -- which, come to think of it now, begs the question of wh