Re: animate light to dark

2005-09-14 Thread Mark Smith
Also, try using repeat with n = 1 to 255 step 5 or whatever... Mark On 14 Sep 2005, at 20:02, TJ Frame wrote: Try using wait for X milliseconds (like perhaps 5 or so) instead of the plain "Wait" statement. On 9/14/05, Roger Guay <[EMAIL PROTECTED]> wrote: Michael, I discovered that if

Re: animate light to dark

2005-09-14 Thread Michael J. Lew
Thanks Scott, your script works very nicely with small images. Unfortunately, when I make the image as large as I want (about half of the screen) it still shows flickery lines as it animates. However, I've tried it on the Macs and PCs that the students will be using and they are perfectly accep

Re: animate light to dark

2005-09-14 Thread TJ Frame
Try using wait for X milliseconds (like perhaps 5 or so) instead of the plain "Wait" statement. On 9/14/05, Roger Guay <[EMAIL PROTECTED]> 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

Re: animate light to dark

2005-09-14 Thread Roger Guay
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

Re: animate light to dark

2005-09-13 Thread Scott Rossi
Recently, Michael J. Lew wrote: > I am trying to get a smooth animation of a background going from > light to dark (and vice versa), but I'm having trouble making it fast > enough, smooth enough and flicker-free. > ... > What I need is to have a large dark region behind some images get > light o

animate light to dark

2005-09-13 Thread Michael J. Lew
Dear all, I am trying to get a smooth animation of a background going from light to dark (and vice versa), but I'm having trouble making it fast enough, smooth enough and flicker-free. I think it is something to do with screen redraws in OS X (see Jim Hurley's BZ entry 2639), but maybe it's m