标签: actionscript-3
我该怎么做......
var Object."a" = 3;
这样的东西?
setPropertyOfObjectWith(myObjekt:Object,probname:String,value);
答案 0 :(得分:11)
这应该有效:
var obj:Object = new Object(); obj["something"] = 12;