A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How do I save to XML?

  1. #1
    Senior Member
    Join Date
    May 2002
    Posts
    359

    How do I save to XML?

    Hi Guys,

    I have a question.

    Im able to read out of an xml document however, how do I save to one?

    This is my xml structure at the moment:



    <Person>
    <Jared valueA="5" valueB="1"/>
    <Terry valueA="4" valueB="3"/>
    </Person>


    Im using AS3

    Any examples would be a great help


    Cheers
    FlashX

    ________________________
    The mind lies, it only hears what it wants to hear.

  2. #2
    Member
    Join Date
    Jul 2009
    Posts
    56
    well there is no way to save directly through AS3, however you can send the xml data to a php script that will save the xml for you, and then you can re-download the xml to update what you have.

  3. #3
    Senior Member
    Join Date
    May 2002
    Posts
    359
    Thanks gamingPC,

    I dont have any PHP skills unfortunately. Do you know of any other 3rd party apps that might be able to do this?

    Failing that, i guess i could write to an ini file to transfer data?

    Cheers
    FlashX

    ________________________
    The mind lies, it only hears what it wants to hear.

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You don't need much PHP knowledge for that. It's mainly writing into a file:
    http://www.flashscript.biz/MX2004/xm.../xml_php4.html
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center