[Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Andrew Sinning
Following the discussion about root yesterday, it got me thinking about a constant problem I face. Object-A needs to listen to events coming from objects B, C and D, but only if and when these objects actually exist. There's no guarantee that any of the objects B, C and D will be

RE: [Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Merrill, Jason
, February 23, 2010 10:04 AM To: Flash Coders List Subject: [Flashcoders] accessing event dispatchers in a loosely-coupled,modular design Following the discussion about root yesterday, it got me thinking about a constant problem I face. Object-A needs to listen to events coming from objects B, C and D

Re: [Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Andrew Sinning
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Tuesday, February 23, 2010 10:04 AM To: Flash Coders List Subject: [Flashcoders] accessing event dispatchers in a loosely-coupled,modular design Following the discussion about root yesterday, it got me thinking about

RE: [Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Merrill, Jason
Sent: Tuesday, February 23, 2010 12:05 PM To: Flash Coders List Subject: Re: [Flashcoders] accessing event dispatchers in a loosely-coupled,modular design In other words: Create a Controller class before creating any other classes. Any instances that need to know when potential event

Re: [Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Allandt Bik-Elliott (Receptacle)
To: Flash Coders List Subject: Re: [Flashcoders] accessing event dispatchers in a loosely-coupled,modular design In other words: Create a Controller class before creating any other classes. Any instances that need to know when potential event dispatchers are created should listen