Let's say we have following class
public class PlayerEvent extends Event
{
public static const PLAYER_INIT:String = "playerInit";
public static const PLAYER_MOVE:String = "playerMove";
public static const PLAYER_USE_SKILL:String = "playerUseSkill";
public function PlayerEvent(type:String)
{
super(type, false, true);
}
}
}
In Flash Player runtime, is there a way I can get a list of all the static members of lass PlayerEvent.
Something like:
trace(PlayerEvent.staticMethods) // ["PLAYER_INIT", "PLAYER_MOVE", "PLAYER_USE_SKILL"]...