1 Reply Latest reply on Dec 14, 2006 9:12 AM by FlightGuy

    Updating Object

    Ukie_239 Level 1
      I have an flex object defined that is assigned to an array object. the array object is a resultset from a query (using AMFPHP) From there, a form is updated with the values of the object. That works great
      EG: <mx:TextArea width="170" id="empPreviousJobsWorked_txt" text="{myInfoObj.previousTempJobs}" height="32"/>

      Now when I update the form, what is the best way to update the value assigned to the Flex object? Currently, I have a focus out event on each form item, but I am sure there is a better way.
      EG:<mx:TextArea width="170" id="empPreviousTempNames_txt" text="{myInfoObj.previousTempNames}" change="myInfoObj.empPreviousTempNames = empPreviousTempNames_txt.text" height="32"/>

      Any ideas on how I can make this more efficient?