0 Replies Latest reply on Aug 26, 2011 3:21 AM by neilh0001

    Question about ObjectProxys and Models./


      Hi everyone!!


      first post


      I have an object proxy called mappingList which contains the name of a field as the label in a the matching models below (originModel and targetModel) and a value that contains a boolean of whether I should copy that fields value from the originModel to the targetModel.


      My question is, is there anyway i can use the string value of a property in one of the models to update the Model.   instead of originModel.firstName, i need to be able to do something like this:  originModel.setProperty("firstName")


      for (var p:String in mappingList){


           if(mappingList[p] = true){


                originModel. = targetModel;






      Is this possible?