So what would be wrong with always using strong references and always
deleting them when you're done?  That's what I do - I feel like I have
more control over what's going on in my code that way.  Sure, if I
forget to remove it, it could still be out there, but if you get in the
habit of always removing them when they are no longer needed, it's
second nature.  To me, it makes sense that it defaults to false because
of the problems already mentioned. 


Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of W.R. de
Boer
Sent: Monday, February 08, 2010 5:06 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Re: is it ever ideal to NOT use weak
references?

Yes, but it can also cause a lot of trouble when used. I have had causes
where the event listener got deleted too early and then you spend a lot
of time finding the issue. And that was not with the Loader-class and
Event.COMPLETE or others.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to