----- Original Message -----
From: "Genevieve Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 4:35 PM
Subject: RE: <lingo-l> Projector file crashed

> Any way , in message handling, as you know, messages are first handled by
> behaviors in a sprite script, then the cast script, then the frame script
> and finally the movie script. So , if I wanted to make sure a script was
> executed, I use the movie script.
>
> Is it alright to do that?

It's allright, but it isn't always the best solution - fly swatting with an
elephant gun is a rather expensive process.
You need to make sure your scripts do not interfere with each other - you
must conceive a way of organising your project, based on your style and
experience and blablabla...
Turn on tracing in the message window, and you will see what makes your
stuff jump to the next frame.
Second, it doesn't give you a guarantee that the event will be catched by
your movie script just because of what you said - the movie script will be
the last one to be notified - if something in between catches it, it will
not be passed unless you specifically tell director to do so (to "catch" an
event - get it? ;)). So in short you are wrong about the movie script thing
;)



[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