AIR App. which is creating Xml file and saving the Start and End of ....
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: AIR App. which is creating Xml file and saving the Start and End of ....

  1. #1
    Senior Member
    Join Date
    Apr 2008
    Location
    Rotorua / New Zealand
    Posts
    115

    AIR App. which is creating Xml file and saving the Start and End of ....

    Hi there,

    I'm just working with an AIR Application which creates and is saving the data to an Xml file. Number one function is creating all the Xml Nodes and saving all data including Start and End date/time (In separate Nodes) at the same time, and as the Start date/time which is OK, but if it comes to changing this End date/time later and saving it through the second function it is deleting the Start date/time or changing both Nodes to the End date/time.

    First function: If I do not include the End date/time it will not create the Node for it !

    Code:
    xmlData.saveStartDate = new Date().toString();
    xmlData.saveEndDate = new Date().toString();          As is; it works alright as long it could be changed yet if it would only create the Node that would be OK also.
    Second function: Here I wanted to keep the Start date/time as saved in function one - But change and save the End date/time to the later and new date/time.

    Code:
    xmlData.saveStartDate = new Date().toString();        Now here the Start date/time should stay the same !
    xmlData.saveEndDate = new Date().toString();         While this one is going to change !
    It would be appriciated if somebody has an ifdea towards this problem which could solve it !!! Thanks in advance regards aktell

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Posts
    171
    If you are working on FB, post your project.

    If you are working on Flash, post the FLA.


    arkitx

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

Poll by Flashkit.com