Re: [Flashcoders] AS2 XML Question

2009-11-05 Thread Karl DeSaulniers

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
nameImage 1/name
pics
imageimage1.jpg/image
imageimage2.jpg/image
imageimage3.jpg/image
/pics
available3/available
/item
item
nameImage 2/name
pics
imageimage4.jpg/image
imageimage5.jpg/image
imageimage6.jpg/image
/pics
available2/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


Re: [Flashcoders] AS2 XML Question

2009-11-05 Thread Ivan Dembicki
Hello Karl,

many examples:
http://proto.layer51.com/l.aspx?p=19

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 XML Question

2009-11-05 Thread Karl DeSaulniers
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
nameImage 1/name
pics
imageimage1.jpg/image
imageimage2.jpg/image
imageimage3.jpg/image
/pics
available3/available
/item
item
nameImage 2/name
pics
imageimage4.jpg/image
imageimage5.jpg/image
imageimage6.jpg/image
/pics
available2/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