Package | mx.modules |
Class | public class ModuleManager |
Inheritance | ModuleManager Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
load()
method, which dispatches events when the factory is ready
(or immediately, if it was already loaded).
More examples
Writing modules
Compiling modules
Loading and unloading modules
Using the ModuleManager class to load modules
Using ModuleLoader events
Passing data to modules
Using interfaces for module communication
Compiling modules
Loading and unloading modules
Using the ModuleManager class to load modules
Using ModuleLoader events
Passing data to modules
Using interfaces for module communication
Learn more
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
[static]
See if the referenced object is associated with (or, in the managed
ApplicationDomain of) a known IFlexModuleFactory implementation. | ModuleManager | ||
[static]
Get the IModuleInfo interface associated with a particular URL. | ModuleManager | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Method Detail
getAssociatedFactory | () | method |
public static function getAssociatedFactory(object:Object):IFlexModuleFactory
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
See if the referenced object is associated with (or, in the managed ApplicationDomain of) a known IFlexModuleFactory implementation.
Parameters
object:Object — The object that the ModuleManager tries to create.
|
IFlexModuleFactory — Returns the IFlexModuleFactory implementation, or null
if the object type cannot be created from the factory.
|
getModule | () | method |
public static function getModule(url:String):IModuleInfo
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Get the IModuleInfo interface associated with a particular URL. There is no requirement that this URL successfully load, but the ModuleManager returns a unique IModuleInfo handle for each unique URL.
Parameters
url:String — A URL that represents the location of the module.
|
IModuleInfo — The IModuleInfo interface associated with a particular URL.
|
Mon Nov 28 2011, 06:48 AM -08:00