I just pushed a new sample application called SwizModuleExample-Flex4 to GitHub. This example is meant to demonstrate the various ways that Swiz supports the use of modules. The key ideas demonstrated are:
- Loading a Module
- Detecting full creation of a Module (not just the ModuleEvent.READY event)
- Dispatching events from a root Swiz instance that are mediated by all Modules
- Dispatching events from a root Swiz instance to a specific Module
- Dispatching events from a Module that are mediated in the root Swiz instance
- Dispatching events from a Module that are mediated by other Modules.
- Injecting Beans that are defined in a root Swiz instance into a child Swiz instance.
While this example is really meant to be looked through at the code level, I have a running version with View Source enabled that you can look at as well. I hope folks find this example helpful!
Comments (2) |
del.icio.us
|
Digg It!
|
Linking Blogs
| 685 Views


