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 expected errors.
I bet that you have a script something like this:
on stopMovie
global gYourObject
gYourObject.forget()
endand that's what's nuking you. When you issue the forget call to your MIAW, it triggers a stopMovie event. And probably the MIAW doesn't have a stopMovie script in its own cast file, so the event rolls to the next ... which is the one that's getting called and nuking your objects.
IIRC the way to fix that is to do something like this in your MIAW:
on stopMovie
nothing
endThat should trap the stopMovie in the MIAw and keep it from propagating up.
Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/
[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!]
