package; enum Param1 { x; y; } enum Param2 { x; z; } class MainJS { public static function main() { var e1:Element = new Element(); var e2:Element = new Element(); var e3:Element = new Element(); e1.x = 5; trace(e1.x); e1.y = 1; trace(e1.y); e2.x = 7; trace(e2.x); //e2.y = 9; trace(e2.y); // <- ERROR because y not in Param-List after macro-ification e2.z = 9; trace(e2.z); e3.z = 3; trace(e3.z); } }