PDA

View Full Version : Switching XML Nodes



vols4ever
March 9th, 2009, 07:53 PM
Hello All,

I have been working on an XML project that is almost done but I have hit a snag. I can get everything to load and display properly however when it comes time to switch the info, I cannot figure out the correct code to make it work. I know what it needs to do but alas I cannot figure it out.I will upload the files and any help would be greatly appreciated.If you could add notes to why or how to fix this for future reference.Thank you again.

You will have to add images to get the images to work.(sorry i had to delete them to decrease file size)

Alpha Remex
March 9th, 2009, 11:13 PM
I cannot open this at the moment - what do you mean by "switching"?

vols4ever
March 10th, 2009, 12:46 AM
I want to switch parent nodes with a button click so the siblings will load accordingly to their designated areas. The program loads the XML at parent node[0] and with a button click I want it to switch to the next parent node[1] and load all of its siblings with it, then at [2],[3], and so on. My problem is writing code to access the text fields and the image loader to tell them to display the next set of children when the "next" button is pushed. Everything is being generated with code so that is where my problem presents itself (I'm doing it this way so I can get better with AS3) I hope that's clear,thank you.