I’m trying to build a library project which will dynamically call some xml data.. This xml data may contain a button, and then add a button to the library project. Can anyone help me to find the tag name of the xml data?
I’m trying to build a library project which will dynamically call some xml data..
Share
To find the name of an XML node using E4X, you use the name() function.
The tricky part is usually navigating to the correct node. The basics of E4X navigation are too involved to go into here. You could take a look at the Adobe documentation: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e72.html or Google E4X.
There are also any number of other questions similar to this. For example, here: How do I retrieve the node name from XML in Flex / Actionscript