Been trying to figure this out for a few but no luck. I want to just make a new node and add it to an XML structure.
So I’ve tried things like :
var xmlNode:XMLNode = new XMLNode(1,newNodeName.text); var xmlObj:Object = xmlNode as Object; xml.insertChildAfter(xml.children(),xmlObj);
and a few others, and they always return the same thing : <newNode/>
any idea’s on what this is happening?