Compose.hx

Compose tutorial import module for demonstrating the use of other import modules from a module.

Summary
Compose.hxCompose tutorial import module for demonstrating the use of other import modules from a module.
composeImports assets from different sources by invoking other modules.

compose

Imports assets from different sources by invoking other modules.

Mandatory attributes

None

Optional attributes

None

Superclass

No AS3 class stub is generated.

Example

Assuming that Compose import module is assigned to namespace comp, Sound import module to snd and Image import module to img the following snippet imports tick.wav and logo.png by passing them to other modules:

<comp:compose>
   <snd:sound import="tick.wav" class="TickSound"/>
   <img:image import="logo.png" class="LogoImage"/>
</comp:compose>
Close