2007-08-03 連想配列 Flex いまさらながら連想配列 var ar:Array = new Array(); var o:Foo = new Foo(); o.prop1 = "aaa"; o.prop2 = "bbb"; ar["key1"] = o; o = new Foo(); o.prop1 = "ccc"; o.prop2 = "ddd"; ar["key2"] = o; o = ar["key1"]; trace(o.prop1); //aaa