Pausing a simple animation

Jim Biancolo webmaster at listology.com
Wed May 14 11:04:01 EDT 2003


Hi folks,

I have a simple animation that fires on mouseUp of a "Play" button:

   repeat for each line L in field "frames"
     set the lockMoves to true
     repeat with i = 1 to the number of images in group "tokens"
       move image i of group "tokens" to ...
     end repeat
     set the lockMoves to false
   end repeat

I know I must be missing something obvious, but I can't figure out how to 
let a "pause" button interrupt this loop.  The "pause" button doesn't 
appear to be clickable until the "play" mouseUp finishes.

Any suggestions would be appreciated!

Thanks,

Jim




More information about the use-livecode mailing list