6
static public const CONST_1 :String = "CONST_1";
static public const CONST_A :String = "CONST_A";
public var constantsArr :Array;
是否有可能獲取類常量數組,而無需手動添加它們是這樣的:AS3 - 如何獲得一個類的常量數組?
constantsArr = [ CONST_1, CONST_A ];
可能重複的http:// stackoverflow.com/questions/3871576/how-can-i-list-all-the-const-properties-defined-in-a-class – loxxy 2012-07-22 04:45:22