Say I have two classes which extend Event
:
public class CustomEventOne extends Event
{
public static const EVENT_TYPE_ONE:String = "click";
//... rest of custom event
and
public class CustomEventTwo extends Event
{
public static const EVENT_TYPE_TWO:String = "click";
//... rest of custom event
Is it ok that they both declare an event type using the same string "click"
?
Or do event type identifiers need to be unique throughout the application?