Waiting for a handler to finish

Jim Hurley jhurley at infostations.com
Sat Mar 5 13:03:47 EST 2005


Never mind. The answer was trivial. Aren't they always trivial when 
finally find them.

All I need to do was send the "doFadeIn 0" message when the 
doFadeOut handler quits:

on fadeOut r
   set the width of me to r
   set the height of me to r
   if r =0 then
     send "fadeIn 0" to me
     exit fadeOut
   end if
   send "fadeOut r-1" to me in 1 tick
end fadeOut


Jim


More information about the use-livecode mailing list