Re: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 12:50 PM, Mendelsohn, Michael wrote: Hello again... I'm running into a MIAW roadblock when forget() is executed. In my previous post, I spawned a MIAW (gMIAW). When I close it using this handler below, suddenly all becomes useless. Why? What does suddenly all becomes useless

RE: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Mendelsohn, Michael
What does suddenly all becomes useless mean? Well, when gMIAW.forget() happens, seemingly all globals everywhere are voided. I'm using a couple of parent scripts that are instanced as globals, and they do a lot, so that's why I'm saying everything becomes useless. I get a bunch of object

Re: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 1:18 PM, Mendelsohn, Michael wrote: What does suddenly all becomes useless mean? Well, when gMIAW.forget() happens, seemingly all globals everywhere are voided. I'm using a couple of parent scripts that are instanced as globals, and they do a lot, so that's why I'm saying

RE: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Kerry Thompson
Hello again... I'm running into a MIAW roadblock when forget() is executed. In my previous post, I spawned a MIAW (gMIAW). When I close it using this handler below, suddenly all becomes useless. Why? on mouseUp(me) -- close button is passed First question--where is your Close button?

Re: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:02 PM, Kerry Thompson wrote: on mouseUp(me) -- close button is passed First question--where is your Close button? Is it in the MIAW or on the stage? Not so much of a problem with Director 10, fortunately. Though you're right to point out that with earlier versions a

RE: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Mendelsohn, Michael
BINGO! That was the issue. I do indeed have an elaborate stopMovie handler that voids things, and it was being executed by the MIAW. Warren, you are a genius. Thanks, all for the feedback. I will wrap all the voids in the stopMovie handler with an if it's the ABC MIAW then... Thanks! -

RE: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Kerry Thompson
Not so much of a problem with Director 10, fortunately. Though you're right to point out that with earlier versions a self-forgetting MIAW will kill a projector faster than hitting the system's power switch. That's good to know. When MX 2004 was first announced, I asked Thomas Higgins three

Re: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:15 PM, Mendelsohn, Michael wrote: BINGO! That was the issue. I do indeed have an elaborate stopMovie handler that voids things, and it was being executed by the MIAW. Ah. Glad you got it then. Warren, you are a genius. No, just bitten by the same thing before. What got me

Re: lingo-l Window.forget() erases all globals? Was: finding the last substring within a string

2004-03-05 Thread Warren Ockrassa
On Mar 5, 2004, at 2:17 PM, Kerry Thompson wrote: Not so much of a problem with Director 10, fortunately. Though you're right to point out that with earlier versions a self-forgetting MIAW will kill a projector faster than hitting the system's power switch. That's good to know. When MX 2004 was