Skip to main content
Participant
September 24, 2008
Question

Dispatchig event from one module and listen it in an other module

  • September 24, 2008
  • 2 replies
  • 796 views
Hi,

I would like to know if it's possible to dispatch event from module for example "M1" and listen this event to call the corresponding command but in an other module "M2". Knowing that M1 produces an swf "SWF1" and M2 produces an other swf "SWF2". For example :

In the view of a module M1, I should have this statement : CairngormEventDispatcher.getInstance().dispatchEvent(new MyClassEvent(parm));

know in module "M2" I would like to know how to recover this event and then executing command corresponding to this event.

If it's not clear enough I can explain it again.

I need really your help for the rest of my development.

Thank you in advance. :)

Ziad.
This topic has been closed for replies.

2 replies

Participant
September 25, 2008
Hi David,

Thank's for you :)
Participating Frequently
September 24, 2008
Hi Ziad,
Sorry, but this forum is for discussing the future of cairngorm, not how to use it today.

I suggest you post your question on the FlexCoders mailing list or on the Cairngorm Documentation Group :
http://tech.groups.yahoo.com/group/cairngorm-documentation/

Thanks ;)