mx.core

# ITransientDeferredInstance - AS3 Flex

Package | mx.core
Interface | public 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.

Related API Elements

mx.states.AddItems
mx.core.IDeferredInstance

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | getInstance():Object Creates an instance Object from a class or function, if the instance does not yet exist. | IDeferredInstance
|  | reset():void 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00