说我有延伸Event
两类:as3中的自定义事件类型标识符需要唯一吗?
public class CustomEventOne extends Event
{
public static const EVENT_TYPE_ONE:String = "click";
//... rest of custom event
和
public class CustomEventTwo extends Event
{
public static const EVENT_TYPE_TWO:String = "click";
//... rest of custom event
它是确定它们都宣称使用相同字符串"click"
事件类型?
或者事件类型标识符在整个应用程序中需要唯一吗?
感谢您的澄清 - 我一直让事件独一无二,我出于好奇而问得比任何其他更多... – Reuben 2009-10-14 00:53:13