Paket | mx.modules |
Klass | public class ModuleManager |
Arv | ModuleManager Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
load()
method, which dispatches events when the factory is ready
(or immediately, if it was already loaded).
Fler exempel
About modules
Loading and unloading modules
Using the ModuleManager class to load modules
Passing data to modules
Using interfaces for module communication
Loading and unloading modules
Using the ModuleManager class to load modules
Passing data to modules
Using interfaces for module communication
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
[statisk]
See if the referenced object is associated with (or, in the managed
ApplicationDomain of) a known IFlexModuleFactory implementation. | ModuleManager | ||
[statisk]
Get the IModuleInfo interface associated with a particular URL. | ModuleManager | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Metoddetaljer
getAssociatedFactory | () | metod |
public static function getAssociatedFactory(object:Object):IFlexModuleFactory
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
See if the referenced object is associated with (or, in the managed ApplicationDomain of) a known IFlexModuleFactory implementation.
Parametrar
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 | () | metod |
public static function getModule(url:String):IModuleInfo
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Parametrar
url:String — A URL that represents the location of the module.
|
IModuleInfo — The IModuleInfo interface associated with a particular URL.
|
Tue Jun 12 2018, 01:40 PM Z