Hi All, I am implementing a cache for my application and I would like to allow my cache to manage memory consumption(limit number of items stored). I have done this in the past in Java by having my cache hold the only hard references to the objects, returning weak references to the application. When items are accessed they are pushed to the top, when max size is reached items are popped off the bottom and the object is available to GC and the application is able to detect and handle null objects.
However, I cant seem to find any way to instantiate a weak reference, how can I do this in ActionScript? Any help much appreciated. Thanks, Greg

