[flexcoders] Cairngorm event types

2007-12-13 Thread Nils Millahn
Hi everybody, I've started using Cairngorm on a couple of projects and wondered where people generally define their event type identifiers. The FrontController/EventDispatcher setup requires unique event names across the application, which is hard to control on large projects with multiple

RE: [flexcoders] Cairngorm event types

2007-12-13 Thread Dimitrios Gianninas
, December 13, 2007 8:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm event types Hi everybody, I've started using Cairngorm on a couple of projects and wondered where people generally define their event type identifiers. The FrontController/EventDispatcher setup requires unique

Re: [flexcoders] Cairngorm event types

2007-12-13 Thread Ralf Bokelberg
You can use full qualified event names to avoid name clashes, eg. package de.bokelberg.bigproject.myview { class UpdateEvent extends Event { public static const EVENT_ID : String = de.bokelberg.bigproject.myview.Update; //... } } Cheers Ralf. On Dec 13, 2007 2:22 PM, Nils

Re: [flexcoders] Cairngorm event types

2007-12-13 Thread Nils Millahn
Hi Ralf, nice idea, thanks! - Nils. Ralf Bokelberg wrote: You can use full qualified event names to avoid name clashes, eg. package de.bokelberg.bigproject.myview { class UpdateEvent extends Event { public static const EVENT_ID : String = de.bokelberg.bigproject.myview.Update;