Packagecom.threerings.util
Classpublic class WeakReference

A weak reference. At some point in the future the referent might not be available anymore.



Protected Properties
 PropertyDefined by
  _ref : Dictionary
The only way to have a weak reference in actionscript.
WeakReference
Public Methods
 MethodDefined by
  
WeakReference(referant:Object)
No, you cannot store undefined here.
WeakReference
  
get():*
Return the referant, or undefined if it's been collected.
WeakReference
Property detail
_refproperty
protected var _ref:Dictionary

The only way to have a weak reference in actionscript.

Constructor detail
WeakReference()constructor
public function WeakReference(referant:Object)

No, you cannot store undefined here.

Parameters
referant:Object
Method detail
get()method
public function get():*

Return the referant, or undefined if it's been collected.

Returns
*