A strong reference is any reference that isn't weak. Weak references are only created via Dictionary keys and event listeners. Any other reference to an object is strong.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Thursday, January 07, 2010 1:58 PM To: flexcoders@yahoogroups.com Subject: Re: [Spam] RE: [flexcoders] garbage Collection articles Thanks for both your replies... I'll check out those links :) er, Alex, what is a Strong Reference? Is that on your blog? Cheers... 2010/1/7 Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> There is also a presentation on my blog. As long as there is one strong reference the object will not be GC'd. Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>] On Behalf Of Nick Middleweek Sent: Thursday, January 07, 2010 11:16 AM To: flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com> Subject: [flexcoders] garbage Collection articles Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm particularly interested in learning about what happens to variables/ objects that are declared in a local function but are assigned to the global 'Model', then the function ends so the local variable, I guess dies with it... Am I right to assume that because that Object is still referenced by the global 'Model' the Object in memory is kept and not garbage collected. I'm interested in how it works as I'm sure it'll help my coding with better understanding... Thanks, Nick __._