0
我怎樣才能做到這一點...動態設置對象的屬性在AS3
var Object."a" = 3;
像這樣的事情?
setPropertyOfObjectWith(myObjekt:Object,probname:String,value);
我怎樣才能做到這一點...動態設置對象的屬性在AS3
var Object."a" = 3;
像這樣的事情?
setPropertyOfObjectWith(myObjekt:Object,probname:String,value);
這應該工作:
var obj:Object = new Object();
obj["something"] = 12;