Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.core 
ITransientDeferredInstance 
Packagemx.core
Interfacepublic interface ITransientDeferredInstance extends IDeferredInstance
Implementors DeferredInstanceFromClass, DeferredInstanceFromFunction

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The ITransientDeferredInstance interface extends IDeferredInstance and adds the ability for the user to reset the deferred instance factory to its initial state (usually this implies releasing any known references to the component, such as the setting the owning document property that refers to the instance to null). This additional capability is leveraged by the AddItems states override when the desired behavior is to destroy a state-specific element when a state no longer applies. The Flex compiler uses the same automatic coercion rules as with IDeferredInstance.

See also



Public Methods
 MethodDefined By
 Inherited
Creates an instance Object from a class or function, if the instance does not yet exist.
IDeferredInstance
  
Resets the state of our factory to its initial state, clearing any references to the cached instance.
ITransientDeferredInstance
Method Detail

reset

()method
public function reset():void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Resets the state of our factory to its initial state, clearing any references to the cached instance.