Question
Dispatchig event from one module and listen it in an other module
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.
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.
