var TX:Object = new Object() TX.field = 1 function RECALC(object:Object, ARG:String ){ object[ARG] = 100 } RECALC( TX, "field" ) trace( TX.field )