on mouseDoubleDown

Ken Ray kray at sonsothunder.com
Sat Nov 16 18:51:00 EST 2002


Edouard:

It's easy:

on mouseDown
  DOTHIS
end mouseDown

on mouseDoubleDown
  DOTHAT
end mouseDoubleDown

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message ----- 
From: <doupsy at wanadoo.fr>
To: <use-revolution at lists.runrev.com>
Sent: Saturday, November 16, 2002 4:39 AM
Subject: on mouseDoubleDown


> Hello,
> 
> I am trying to convert an HC Stack to an Revolution Stack.
> 
> 
> --> Here the script of a locked bg field :
> on mouseDown
> wait 20 ticks
> if (the mouseClick) and (the clickLoc is within the rect of me)
> then DOTHIS
> else DOTHAT
> end mouseDown
> 
> 
> --> Here the script of the background (group in Revolution)
> on DOTHIS
> .........
> end DOTHIS
> 
> on DOTHAT
> .......
> end DOTHAT
> 
> I have no problem with these scripts in HC but they make mistakes in 
> Revolution.
> What is the problem and the solution ?
> How is it possible to use mouseDown and mouseDoubleDown to make ONLYTHIS 
> with the first one and ONLYTHAT with the second one.
> 
> Thanks
> 
> Edouard
> 
> 



More information about the use-livecode mailing list