> Subject: <lingo-l> why does this script get instantiated...
> 
> 
> ...while the startmovie handler isn't even been called yet?
> 
> i've got about a dozen scripts, with a central parent script taking 
> care of the rest of the branche, but somehow one of the scripts gets 
> instantiated even before the startmovie-handler is called.

Is the script a behavior attached to a sprite? beginSprite is called
before startMovie.

Or, is the script in question perhaps a movie script, and not a parent
script?

One thing I usually do is make my on new handler as simple as possible,
usually just returning me.

on new me
  return me
end

Then I have a separate handler to initialize everything. I find that
helps keep things in order.

Cordially,

Kerry Thompson


[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