If you want, you might be able to create a MIAW without a close box.  Try
setting the windowType (maybe to 4?) and see if that does it.  If you could
do that, then you could control the closing of the window yourself.

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194

----- Original Message ----- 
From: "Kerry Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 19, 2003 2:37 PM
Subject: RE: <lingo-l> Projector vs. external cast - BUT MIAW...


> > OK, I can follow this... But the tell the stage handler has
> > to be in a preiodical or?? What I need is to capture the
> > close event that gets triggered when the user uses the close
> > box in the title bar... Possible?
>
> I'm not sure--I've never used a close box on a MIAW. I always put a
> "close" button, and clicking it tells the stage to set the global, or
> calls the CloseModalDialog handler. I don't know if you can trap it or
> not.
>
> If you set the global on the stage (from the MIAW, with tell the stage),
> then you have to be checking the global periodically in the stage movie.
> I prefer the second method, because you can call it directly from the
> MIAW (tell the stage CloseModalDLOG ), and you don't have to have it in
> a periodical handler. CloseModalDLOG just has to be in a movie script.
>
> > Would of cause be glad to do it your way but not sure I can
> > figure that out quite yet without som explanation on how you
> > call the handlers... I assume they are in the stage movie?
>
> Yes, the handlers are in the stage movie, in a movie script. You would
> have a button in the MIAW with a script something like this:
>
> on mouseUp me
>   tell the stage
>     CloseModalDLOG()
>   end tell
> end
>
> 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!]
>


[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