dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Zitan

Search: Search took 0.00 seconds.

  1. Thread: Updating XML2

    by Zitan
    Replies
    1
    Views
    598

    Before updating a node (inside the array), you...

    Before updating a node (inside the array), you need to delete it first:

    xmlList[index].removeNode();

    Sweet :)

    Z.
  2. Thread: Updating XML2

    by Zitan
    Replies
    1
    Views
    598

    I can't read my posts or responses in that other...

    I can't read my posts or responses in that other thread - ???

    I can add new nodes - but not update old ones!! Here's my code :

    newNode = xmlList[index].cloneNode(true);
    nodeElements =...
  3. Replies
    4
    Views
    901

    And I lost the rest of the post :( Here's one...

    And I lost the rest of the post :(

    Here's one solution, although hardly elegant :)

    node_test = hoursList[index].cloneNode(true);
    nodeList = node_test.childNodes ...
  4. Replies
    4
    Views
    901

    Thanks dude. Basically I have an array which...

    Thanks dude.

    Basically I have an array which has XML child loaded into each element - standard approach here.

    tagList = input.firstChild.childNodes; //get tags from input XML
    childList =...
  5. Replies
    4
    Views
    901

    One easy way I've found is to load the XML...

    One easy way I've found is to load the XML children into an array. Then you can format the XML node as a text string, eg:

    XMLNode ="<testnode><name>" + name + "</name></testnode>";...
  6. Replies
    4
    Views
    901

    Greetings All, What I want do is load some XML...

    Greetings All,

    What I want do is load some XML in flash, make changes to it and then send it back to the db. My question is what is the best way to add nodes to my XML and update elements in my...
  7. Replies
    3
    Views
    296

    Thanks that totally works, set is the way to go...

    Thanks that totally works, set is the way to go here. That rocks. Now if I could just work out how to pass variables into flash when I open the movie (like the username) I'd be all sorted :)
    ...
  8. Replies
    3
    Views
    296

    Greetings All, I just want to be able to...

    Greetings All,

    I just want to be able to dynamically create a variable name.

    The syntax I was thinking should work is:
    eval("op"+maxvar) = JobName;
    which should translate to
    op1 =...
  9. Replies
    0
    Views
    251

    Greetings All, I'm working on a web app using...

    Greetings All,

    I'm working on a web app using flash for the user interface :cool. To get data in and out of the interface I'm using XML and that works sweet. My only problem is that I don't want...
  10. Replies
    1
    Views
    345

    Greetings All, This is probably a newbie...

    Greetings All,

    This is probably a newbie question to most of you, but it is proving an interesting problem to me :) Also the post is kind of long, but I wanted to explain clearly what I'm doing...
Results 1 to 10 of 10




Click Here to Expand Forum to Full Width

HTML5 Development Center