Economy-x-Talk - Sample Scripts
ArrowKeys
From Steve Drazga 12/87
This version was copied from the Developer Stack 1.1
To prevent the user from using a specific arrowkey replace "left" in the first script with whatever key you want to disable. Click on an arrowkey to try this.
To disable all the arrowkeys use the second script.
To do something special when an arrowkey is selected, use the third script.
on arrowKey direction
if direction is not "left" then pass arrowKey
end arrowkey
on arrowKey direction
end arrowkey
on arrowkey direction
if direction is up then
--special instructions for up arrowkey go here.
--there can be more than one.
else
pass arrowkey -- remember if you don't pass the arrowkey, they won't do anything!
end if
end arrowkey
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.