Language Version: | ActionScript 3.0 |
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.
public function reset():void
Language Version: | ActionScript 3.0 |
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.