Hi there everyone,
im trying to write a handfull of XML functions in AS2.0
and im trying to find a way of getting flash to detect
the number of attributes in a childNode.
<item name=“aaron” location=“sydney” sex=“male”/>
as in finding out how many of these ^ there are in each item.
any ideas as to how I would do this? I’ve tried for…in… statements
and even trying to access them as objects i.e. …ode[0].attributes[“name”]
but it never works - I always have to hard code…ode[0].attributes.name
to get the value.
im sure theres a way to do this, there has to be a way.
please show me the way :ne:
Thanks in advance !!!