A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: a little xml help

  1. #1
    Senior Member
    Join Date
    Jun 2005
    Posts
    189

    a little xml help

    Ok i have an xml it reads
    //the / are to represent the < and >

    /photos/
    1.........
    24
    //photos/
    /stills/
    1.....
    24
    //stills/

    now i have two areas i want to show these images....
    I can get the first 24 to show up, but i am having trouble accessing the finally 24

    My question is if i have two mc's and photo gallery type navigation..(ed reyes's...got it here in the tutorials) how would i get to them?

    I am using this code currently for the second set

    rootNode = images_xml.firstchild.nextsibling;
    totalImages = rootNode.childNodes.length;
    firstImageNode = rootNode.firstChild;
    .......

    for the function i have

    function = startImageVeiwer2(success) {
    if(success = true) {
    stillp.loadMovie(firstImageNode);
    ....

    then i have button code too but that is further along than i can get to work...any help will be greatly appreciated thx

  2. #2
    Spaghetti-Code Extraordinaire
    Join Date
    Sep 2005
    Location
    Chattanooga, TN.
    Posts
    53
    give the actual XML, then I, or other might be able to help you.
    "You teach a child to read, and he or her will be able to pass a literacy test."
    Source: United Press International, "Bush Proposes Increase in Education Funds," Mark Kukis, Feb. 21, 2001

  3. #3
    Senior Member
    Join Date
    Jun 2005
    Posts
    189
    sorry i took so long i was out on a hunting trip.....here ya go
    Attached Files Attached Files

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