Hello all

Why can't I initialise a timeout object in a new object handler? Here's
my script (called from a startMovie handler):

on new me
  pSpeechList = [:]
  pTimeOutSpeechList = []
  pTimeOutMode = 0
  interval =  timeOut("textTO").new(3000, #tPause ,me)
  append the actorlist me
  return me
end

this gives a script error: object expected. When I run the debugger all
seems well. It is the exact same script (with different names obviously)
that I use to create a timer object in the beginSprite handler of a
sprite behaviour. Can't for the life of me think why there should be any
difference between the two cases. Any ooped-up turbo-coders got a
pointer for me?

ta

Jon

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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