Hi,
I've DL the module exampe; from the repository (eg. http://opensource.adobe.com/svn/opensource/cairngorm3/trunk/samples/in sync/) and add the "missing libraries in order to make them compiling.
These are compiling, but when I launch them (the shell application or the sub-module application one by one) I've got an empty blank page.
The libs I'm using are :
- integration-0.14.swc
- integrationParsley-0.14.swc
- module-0.12.swc
- observer-1.11.swc
- parsley-flex4-2.3.0.swc
- spicelib-flex-2.3.0.swc
- navigationParsley-1.1.swc
Maybe I've done something bad in the configuration (or some files are missing... )
I've also created another simple project from scratch. The project is compiling and working ok. I tried to create a module from this project and call it from a new "shell" project but then I've got the following error while the "shell" appliction is loading the project :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.adobe.cairngorm.module::ParsleyFlexModuleFactory/create()[C:\work spaces\flex4.0betadrop17feb10\Cairngorm 3 trunk\target\checkout\libraries\Module\src\com\adobe\cairngorm\module \ParsleyFlexModuleFactory.as:96]
at com.adobe.cairngorm.module::ModuleViewLoader/addLoadedModuleToStage() [C:\workspaces\flex4.0betadrop17feb10\Cairngorm 3 trunk\target\checkout\libraries\Module\src\com\adobe\cairngorm\module \ModuleViewLoader.as:283]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\4.x\frameworks\pro jects\framework\src\mx\core\UIComponent.as:11614]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\4.x\frameworks\proj ects\framework\src\mx\core\UIComponent.as:11552]
Hi Nicolas, and Thx for the fast reply.
In fact I've solved my problems.
There were some namespace error (referencing bad/old cairngorm namespace) and I've forget the tags
<fx:Declarations>
<parsley:Configure/>
</fx:Declarations>
which is really stupid...
I've also have some trouble with module generation in the bin-debug folder (I don't know why but one of my module project didn't have the build part "flex application" correctly referenced (eg. the test application based on module was declared but not the module itself... so the module SWF was never generated...)
Now everything is working perfectly and I find the new Cairngorm really gorgeous ! Module is incredibly simple to create and set/gather, Observer/Navigation libraries are really helpfull and injection+event dispatching is genious ![]()
Many thanks !!!
North America
Europe, Middle East and Africa
Asia Pacific