So I’ve been messing around a lot lately with RobotLegs and Joel’s Modular Utility. I ran into a issue the other day thou. If you compile your modules with ANT or with the mxmlc compiler, you’ll notice none of your modules work correctly. The problem is by default the mxmlc compiler destroys all meta data. Including the Inject and PostConstruct meta tags that are used with RobotLegs & SwiftSuspendors(The low level injector RobotLegs utilizes). To fix this you need to modifiy your flex-config.xml file and add this to your compiler portion.
<keep-as3-metadata> <name>Bindable</name> <name>Managed</name> <name>ChangeEvent</name> <name>NonCommittingChangeEvent</name> <name>Transient</name> <name>Inject</name> <name>PostConstruct</name> </keep-as3-metadata>
Now every thing should work perfecto!