Compose tutorial import module for demonstrating the use of other import modules from a module.
| Compose.hx | Compose tutorial import module for demonstrating the use of other import modules from a module. |
| compose | Imports assets from different sources by invoking other modules. |
Imports assets from different sources by invoking other modules.
None
None
No AS3 class stub is generated.
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>