Malte,
Thanks! I'm using a variation on this now. Besides learning something about keyDown messages I feel a light bulb about to go on ( metaphorically... over my head) with regards to send-in-time message passing.
-Scott

On Aug 2, 2006, at 8:11 AM, Malte Brill wrote:

on mouseUp
  set the navigationArrows to false
  set the flag of me to not the flag of me
  if the flag of me then hereWeGo
end mouseUp


on hereWeGo
  --put the keysDown
  repeat for each item theItem in the keysDown
    put item 1 of the loc of btn "myMovingButton" into tX
    put item 2 of the loc of btn myMovingButton into tY
    switch theItem
    case "65361"
      set the loc of btn "myMovingButton" to tX - 1,tY
      break
    case "65362"
      set the loc of btn "myMovingButton" to tX,tY - 1
      break
    case "65363"
      set the loc of btn "myMovingButton" to tX + 1,tY
      break
    case "65364"
      set the loc of btn "myMovingButton" to tX,tY + 1
      break
    end switch
  end repeat
  if the flag of me then send hereWeGo to me in 50 milliseconds
end hereWeGo

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to