A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: Display only some XML nodes

Threaded View

  1. #5
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    well basically xml is actually an array so if you can trace out everything between <events> and </events> by tracing thisNode (meaning ksmContent.firstChild.firstChild from my example) then if you were to trace thisNode[1] it would trace the first element in the array of nodes meaning <id>24</id> and if you traced thisNode[2] it would show <timestamp>1156996800</timestamp> and so on. It's a bit tricky figuring out the paths, but once you get one the rest are a cakewalk..

    If i get a chance later tonight I'll send you a working script for bringing up your nodes (to celebrate my 1000th post! wootwoot)
    Last edited by EvolveDesigns; 05-08-2007 at 06:33 PM.
    Evolve Designs Interactive Media
    the natural selection

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