Here is one of the first applications that we made in Flex – AIR, in order to test its possibilities.
MagicToolbox, is a management interface for plugins, specifically it use AS3 « IModuleInterface » for module communication.
Some screenshots:
![]() |
![]() |
![]() |
It would take too long to explain the principle in detail, however small diagram below gives you an idea of its operation.
Note that all modules have common methods (the principle of the plugin) called by the main application:

For all modules and script:
getModuleInfo :
Method returning the parameters of the plugin configuration form of XML:
- « IsMainModule » : Indicates whether this is the main module
- « MinHeight » : Minimum height for the interface
- « MinWidth » : Minimum width for the interface
- « Resizable » : True or False if the interface is resizable
- « HasDrawer » : If the interface has a drawer options
- « DrawerName » : If HasDrawer = true, the name of the module options
or null if there is a « script background »!
getModuleReady :
Returns True or False if the module to be initialized finished and ready for use.
ExecuteCommand :
- Command: String (Command Name)
- Data : Object (parameters)
The icing on the cake: We’ve added the ability to run a background script if the module does not run !
You can download the sources here :
MagicToolbox Source
MagicToolbox AIR



