/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Usage 1: var hasAttribute:Boolean = node.hasOwnProperty("@myAttribute"); Usage 2: var myList:XMLList = myXML.node.( hasOwnProperty( "@myAttribute" ) ); Usage 3: if ("@myAttribute" in node) { ... }