Yes, because you're calling out of the context of the Miaw, and even if the 
stage does the dirty work, it kills the very thing that's in the process of 
executing, sort of pulling the rug out from under its feet, when it's not 
done with the call.

The only way around it is to defer the closing until you're operating in 
the context of another movie.  In theory, any other movie (even another 
miaw) would be safe to make the closing, as long as the movie being killed 
is not the one currently executing.  For practical reasons, though, it's 
silly to have another miaw do it.  Might as well have the stage do it.  Or 
rather, whatever movie caused it to launch should also be responsible for 
shutting it down (though that's more organizational than technical).  But 
not the thing that's executing itself.

- Tab

At 03:41 PM 3/23/01 +0000, Karina Steffens wrote:
>Hi Tab,
>
> > This puts the "killing" of the window in the context of the
> > stage, not the
> > window itself, and won't crash.
>
>Would it also be unstable if you use  "tell the stage" in the window, to
>call a handler in the stage's movie script, that closes that window?
>
>Karina


[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