I also need to do the same thing, but once I get the values, plug them into a combo box.
Ale ca-rumba.. any pointers on how to get  them into a combo box?
Do I need to put them into an array and then .addItem? or a DataProvider?


Karl


On Nov 5, 2009, at 9:44 PM, Karl DeSaulniers wrote:

Oops sorry for the hitchhiker text.

Karl

On Nov 5, 2009, at 9:39 PM, Karl DeSaulniers wrote:

Ok. I know this is an XML question, but I need to figure out how to cycle through a childNodes childNodes in actionscript.

Eg XML:
<items>
<item>
<name>Image 1</name>
<pics>
<image>image1.jpg</image>
<image>image2.jpg</image>
<image>image3.jpg</image>
</pics>
<available>3</available>
</item>
<item>
<name>Image 2</name>
<pics>
<image>image4.jpg</image>
<image>image5.jpg</image>
<image>image6.jpg</image>
</pics>
<available>2</available>
</item>
</items>

How do I cycle through <pics> childNodes to get the values of <image> into an array. Or better yet can I assign <pics> to an array and call on that arrays childNodes like it was XML? Or just cycle it like an array?

Any help will be greatly appreciated.

Karl

Sent from losPhone



Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to