animate light to dark

TJ Frame tjframe at gmail.com
Wed Sep 14 15:02:02 EDT 2005


Try using wait for X milliseconds (like perhaps 5 or so) instead of the 
plain "Wait" statement.

 On 9/14/05, Roger Guay <irog at mac.com> wrote: 
> 
> Michael,
> 
> I discovered that if you put the following script into a button with
> it's autoHilite off, you will get a very smooth transition albeit
> slow. It takes about 5 seconds on my machine.
> 
> on MouseUp
> put "0" into clr
> repeat 255
> set the backgroundColor of me to clr,clr,clr
> add 1 to clr
> wait 1
> end repeat
> end mouseUp
> 
> Can you work with this?
> 
> Cheers, Roger
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list