Dear List... anybody got this before?


I have 2 scripts in a movie, 1) a movie script containing only:

----
on startMovie
   put "Kalle"
end
----

and 2) a behavior attached to a sprite:

----
on beginSprite me
   timeout("animationPace").new(50, #animate, me)
end

on animate me
   timeout("showLwDelay").forget()
   put "benny"
end
----

If I run this movie and the sprite that's got the bhv attached starts 
on frame 1, on startMovie will happen twice. I get 2 "Kalle" and 1 
"Benny" in the message box.

- It only happens with startMovie - not prepareMovie.
- It only happens if I have a timeOut object in the sprite behavior
- It only happens if the TO is placed in the 'beginSprite' handler of 
the behavior.


-Andreas

[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