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
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. Well, there is a way. It’s a bit of a hack, and unfortunately uses a full Dictionary object for each weak reference, but it works. The source code is very short…
Posted on 15 August 2007 | 1 comment | continue reading
