I'm using Cairngorm Module library in my application. While testing the debug version of my app, all modules are loaded correctly and all dependencies are successfully injected into these modules.
However, after I export the release build and launch the app, the modules are still loaded but it seems that none of dependencies is being injected into them. They all equal to 'null'. The main problem is that I cannot even debug this case because the debug version works fine.
How could this be possible?
I'm using Flex 4.1 along with Parsley 2.4 and the latest trunk version of Cairngorm Module library.
Thanks in advance.
Are the dependencies eventually injected sucessfully at some point (maybe with some delay)? Maybe have a look at the -keep-as3-metadata option of the compiler, check the "Compiling custom metadata into SWFs" section on the link below: