On 6/10/03 1:35 PM, Barry Levine wrote:

I have a repeat loop I'd like to have execute one loop per second. However, I can't use the "wait" command because there are objects moving about on screen that I must not stop (and the "wait" command will stop them). Here's the loop; perhaps someone can advise me how to change it to the "send" structure?

repeat with i = 1 to 6
    set the title of graphic "coverMask" to "Releasing piece " & i & "..."
end repeat

I'd do something like this:


on setTitle n
  if n is empty then put 1 into n
  set the title of graphic "coverMask" to "Releasing piece " \
    & n & "..."
  add 1 to n
  if n < 7
  then send "setTitle n" to me in 1 second
end setTitle

To start it off, use either of these in the calling handler:

  setTitle 1
  setTitle

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to