3 Replies Latest reply on Jul 27, 2007 3:58 PM by ntsiii

    Reading and Writing to an XML File using Flex

    fourevermi
      I know you can read in data from an XML file fairly easily. For example, if I had an ArrayCollection that I wanted to populate with recipe objects from recipes.xml, I could just do the following (I think):

      <mx:ArrayCollection id="recipes" source="recipes.xml" />

      But what if I have a form where the user can add recipe objects to the ArrayCollection recipes--how do I then make sure that the new recipe gets written to recipes.xml?

      Any help would be appreciated. Thanks!