Wanted to add my input to this one. 

Firstly, I agree tight coupling is not good practice in regards to architecting 
an application. However, where event mechanics are concerned, it's impact can 
be slightly negated by using weak listeners - which are good practice in 
general.

Secondly, I haven't thought this through, but I'm throwing it out there anyway. 
Maybe a static EventManager class somewhere in your root/main application 
class, that uses custom events could be worth investigation. Actually, I'm all 
over this at the moment, as finding a generic solution for an application's 
event mechanics is the piece of the puzzle I'm currently up to. 

Stephen.   



      
__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to