ModuleInterface.hx

Summary
ModuleInterface.hx
ModuleService_1_0Interface provided for import modules by SamHaXe version 1.0.
Functions
getFlashVersionReturns the flash version used by the asset library.
getIdRegistryReturns the IdRegistry instance.
getSymbolRegistryReturns the SymbolRegistry instance for actual frame.
getAS3RegistryReturns the AS3Registry instance for actual frame.
getDependencyRegistryReturns the DependencyRegistry instance.
getVariableRegistryReturns the VariableRegistry instance.
runImportImports resources described by the asset parameter.

ModuleService_1_0

Interface provided for import modules by SamHaXe version 1.0.

Summary
Functions
getFlashVersionReturns the flash version used by the asset library.
getIdRegistryReturns the IdRegistry instance.
getSymbolRegistryReturns the SymbolRegistry instance for actual frame.
getAS3RegistryReturns the AS3Registry instance for actual frame.
getDependencyRegistryReturns the DependencyRegistry instance.
getVariableRegistryReturns the VariableRegistry instance.
runImportImports resources described by the asset parameter.

Functions

getFlashVersion

public function getFlashVersion() : Int

Returns the flash version used by the asset library.

Returns

The flash version.

getIdRegistry

public function getIdRegistry(): IdRegistry

Returns the IdRegistry instance.

Returns

The IdRegistry instance.

getSymbolRegistry

public function getSymbolRegistry(): SymbolRegistry

Returns the SymbolRegistry instance for actual frame.

Returns

The actual SymbolRegistry instance.

getAS3Registry

public function getAS3Registry(): AS3Registry

Returns the AS3Registry instance for actual frame.

Returns

The actual AS3Registry instance.

getDependencyRegistry

public function getDependencyRegistry(): DependencyRegistry

Returns the DependencyRegistry instance.

Returns

The DependencyRegistry instance.

getVariableRegistry

public function getVariableRegistry(): VariableRegistry

Returns the VariableRegistry instance.

Returns

The VariableRegistry instance.

runImport

public function runImport(asset NsFastXml): Array<SWFTag>

Imports resources described by the asset parameter.

This function enables import modules to invoke foreign import modules by passing them the appropriate XML node.

Parameters

assetthe XML node describing the asset to be imported.

Returns

The array of SWF tags imported by the foreign module.

public function getFlashVersion() : Int
Returns the flash version used by the asset library.
public function getIdRegistry(): IdRegistry
Returns the IdRegistry instance.
Keeps track of character IDs requested by import functions.
public function getSymbolRegistry(): SymbolRegistry
Returns the SymbolRegistry instance for actual frame.
Keeps track of symbol class names generated by import modules.
public function getAS3Registry(): AS3Registry
Returns the AS3Registry instance for actual frame.
Keeps track of class stubs generated by import functions.
public function getDependencyRegistry(): DependencyRegistry
Returns the DependencyRegistry instance.
Keeps track of file dependencies of the actual asset library.
public function getVariableRegistry(): VariableRegistry
Returns the VariableRegistry instance.
Keeps track of variables shared between import modules.
public function runImport(asset NsFastXml): Array<SWFTag>
Imports resources described by the asset parameter.
Close