I am just starting to use XML and I have this function working.
The code seems to be redundant but it works.
Can this function be consolidated somehow? I'm also attaching my files that I am using.
Thanks
Hey Luke, thanks for the reply but I don't quite understand what you wrote.
I'm definitely trying to consolidate my code. Since I am new to XML I figured my actionscript was a little "overscripted".
Is this not the case? Are XML nodes this tedious to access?
It depends, if you are good with copy and paste then xml nodes aren't to much of a problem to handle, however it doesn't leave you with the cleanest looking code.
The best way I have found is to use recursive function calls which parse through the XML child nodes. I have a tutorial which gives an example: