What is the best way to destroy a Singleton?  I have a program that has a
videoList when members are logged in - when they log out although the swf
will still be open I would like that the list (which is a Singleton that
they can tote around with them throughout the minisite) be destroyed-.  I
was thinking of creating a destroy method of the singleton that would set
the _instance value to null and therefore allow the whole creation and
init() process to be called anew by the login but wondered if I was setting
myself up for a pitfall that I didn't know about.

Thanks,

Mani
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to