Actually 120 clicks - 2 seconds


on mAnimationFinishedEvent me
-- replacing the "wait 120", I guess it's wait for 120 seconds, isn't it ?
  dto = timeout().new(the last word of string(me), 12000, #mGoNext, me)
-- if you use D < 10 then the syntax is different:
-- dto = timeout(the last word of string(me)).new(12000, #mGoNext, me)
  go the frame + 1
end

on mGoNext me, dto
  if ilk(dto) = #timeout then dto.forget()
  go the frame + 1
end

on endsprite me
-- just in case of a premature endspite we delete the timeout object if any
  dto = timeout(the last word of string(me)
  if ilk(dto) = #timeout then dto.forget()
end



that should do the trick, of sending an event, upon completion.


---------------------------

  |||
a¿ex







[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