try this

on mouseDown
  repeat while the stilldown
    startTimer
  repeat while the timer < 60
  end repeat 
    next --this is my handler that changes the castnum of sprite and
-- add an updatestage() command
updatestage()



increments a variable + 1
  end repeat
 
end




On 16 Jan 2002 at 15:01, Rodrigo Peres wrote:

List,

I have a project, something like an slide show. When the user clicks the
mouse and hold down I want that it steps throw the images one by another 
and
wait a second between them. How can I do this.

I've tried repeat while the stilldown , but it jumps directly to the last
image!

this is my the non working code :-(

on mouseDown
  repeat while the stilldown
    startTimer
  repeat while the timer < 60
  end repeat 
    next --this is my handler that changes the castnum of sprite and
increments a variable + 1
  end repeat
 
end

Thank's in advance

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-
L is for learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to