On the tip for communicating between modules using a framework, PureMVC has a utility called Pipes which helps you accomplish this:

http://trac.puremvc.org/Utility_AS3_MultiCore_Pipes

;S

On 3 Mar 2009, at 10:10, claudiu ursica wrote:


You should probably have ca comunication manager something like a central event dispatcher (I believe the Mate framework already does this but i might be mistaking) and register panels within that scope. so when a panel fires an event the other listening panels check if the event is adressed to them and actually consume catch that event...

there was some guy doing a prof of concept for this google for ALON desing pattern ...

HTH,
Claudiu

From: thelordsince1984 <[email protected]>
To: [email protected]
Sent: Tuesday, March 3, 2009 10:53:49 AM
Subject: [flexcoders] Re: Modules Communication

--- In flexcod...@yahoogro ups.com, Guy Morton <g...@...> wrote:
>
> Have you read the section "Using interfaces for module communication"
> in the docs? That's been working for me.
>

thanks for the reply..

For Guy Morton...

i've read it but modules are created at runtime so i would have a
maneger that controls communication over modules.is it true?

For Alex Harui

how can i achieve the commuication between modules..for example a
module dispatch an event...the event is catch by a manager and then
fires to the rigth destination. ..rember that i have an
application. ..it contains panels and each panel could contain a module...

thanks again

Regards Lorenzo






Reply via email to