views:

156

answers:

2
+1  A: 

Did you try this?

trace("Where is my text? = "+xmlData.col.(@id1 == 'Photography').vid.*);
shyam
Just tried that, but got this error: Error #1065: Variable @id1 is not defined. Should @id1 here be some sort of XML var?
Leon
+1  A: 
for each(var vidXml:XML in xmlData.col[0].vid.*) {
trace("loop # = "+vidXml);
aNewTextArray.push(vidXml);

}

// try this

AdonisSMU
Ah sweet this works :) thx manSo correct trace is:trace("Where is my text? = "+xmlData.col[0].vid.*);Didn't think of col as an Array :/
Leon