On 05/16/2012 09:31 PM, Richard Gaskin wrote:
Richmond wrote:
I swear there was a "flash" command in RunRev/Livecode which would flash
the screen.
However, having looked back at RunRev 2.2.1 I think I am wrong.
SO . . . does anybody know how to do this sort of thing:
on mouseUp
invert screen colours, and/or flash the screen rapidly
end mouseUp
You could show and hide a graphic object which overlays the card, with
its ink set to srcXor.
Perfect!
I made an img "whiteSquare.png" with GIMP
and imported it into the top layer of my stack, locked it, set it to
invisible,
and the put this in a "Flash" button:
on mouseUp
set the vis of img "whiteSquare.png" to true
wait 5 ticks
set the vis of img "whiteSquare.png" to false
end mouseUp
Thank you Richard!
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode