Posts tagged as 'Weak reference'
Different types of weak references
Actionscript 3 seems to have two different types of weak references. The difference relates to method closures (or bound methods) and the weak references used by the EventDispatcher and Dictionary classes. Try the following…
Posted on 15 August 2007 | no comments | continue reading
Creating weak references in Actionscript 3
A weak reference is a reference that does not prevent the object from being garbage collected. It’s great that Actionscript 3 has weak references in the EventDispatcher and Dictionary classes. But sometimes you want to create your own weak references. The source code is very short…
Posted on 15 August 2007 | 1 comment | continue reading