Thank you very much, Sean.

Your workaround works fine for my environment, too.

But I disposed the timeout object with 'forget' method in my 'on
exitFrame' handler.  I have thought that the child object would have
got garbage-collected because its reference from the timeout object
have been deleted.

Is this a bug of the timeout object or is my understanding wrong?
_____
Sean Wilson wrote:
> I had exactly the same problem when using the same technique. I think what's
> happening is that the parent script is holding a reference to the window and
> there is a circular reference between the timeout object and the script
> object, so the script object never gets garbage-collected thus its window
> ref is still valid. The way I solved this was to explicitly set the timeout
> object's target to zero before forgetting it.

Regards,

Fumio Nonaka
Attain Corporation
Phone: +81-3-3255-4941
Fax: +81-3-3255-5998
mailto:[EMAIL PROTECTED]
http://www.attainj.co.jp

[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