Skip to main content
Participating Frequently
September 29, 2010
Question

Cairngorm3 - Insync module exmaple does not work ?

  • September 29, 2010
  • 1 reply
  • 2517 views

Hi,

I've DL the module exampe; from the repository (eg. http://opensource.adobe.com/svn/opensource/cairngorm3/trunk/samples/insync/) 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()

at com.adobe.cairngorm.module::ModuleViewLoader/addLoadedModuleToStage()

at Function/http://adobe.com/AS3/2006/builtin::apply()

at mx.core::UIComponent/callLaterDispatcher2()

at mx.core::UIComponent/callLaterDispatcher()

Could you please help me to see what's wrong ?
Thx

This topic has been closed for replies.

1 reply

Participating Frequently
September 29, 2010

I've forget : I'm working with flex 4.1.0

Forget the first part of the message (tragetting Insync) I've got it working... don't know why but it seems there was a problem int the generated html - I had to delete it and generate it again.

Still have trouble with my custom application

Adobe Employee
October 1, 2010

Hi,

Good to know that you are able to run the Insync sample App. We'll have a look into your second issue to see whats going on.

Could you post your sample project so that we can narrow down the problem?

Many thanks

Participating Frequently
October 1, 2010

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 !!!