I've never seen that, would be surprised it happens, since they don't seem 
to carry a reference count, but I guess if it really is the case you should 
be able to get around it easily enough by setting the property to 0 (or 
anything else).  Are you really sure you're "forgetting" it?  Keep in mind 
that if you're looking at the windowList by making a variable with the 
window reference in it, that it will show up in the window list (this is 
the way the windowlist works, and has nothing to do with objects) 
regardless of whether the window exists or not.

Frankly I think the windowList is a joke - it's possible to get listings 
for windows, that if you check their name you can get it, and the 
windowPresent() function says they're there, but if you check another 
property (like visible or rect or title) then it throws an error.  I just 
end up making my own window list and managing that, I'm so disgusted with 
the way Director lets you "manage" MIAWs.


At 11:06 AM 3/14/02 +0530, [EMAIL PROTECTED] wrote:
>Has anyone ever had problems forgetting MIAW's when they are stored as
>properties in a parent script? If I change the scope of the variable from
>property to global then there is no problem forgetting it. Even naming the
>window explicitly rather than using the variable reference doesn't help.
>
>I'd really like to avoid adding another global variable just for the movie
>window.
>
>Regards,
>Pranav.

[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