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
, 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
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
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;
4 matches
Mail list logo