How to retrieve the index of an XML element with a specific attribute in AS3?

HumanistKittie

New Member
Does anyone know if there is a way to retrieve the index of an XML child element with a specific a attribute in ActionScript?Say...\[code\]foo.child.@attribute //index of\[/code\]I tried using the method like this:\[code\][email protected]()\[/code\]but it returns \[code\]-1\[/code\].
 
Back
Top