var _copyXML:XML = orginalXML.copy(); http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/XML.html#copy%28%29
The same for XMLList: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/XMLList.html#copy%28%29 On Apr 22, 2016, at 6:11 PM, mark goldin <[email protected]> wrote: > I am using the following to create a copy of an XMLList: > var _copyXML:XMLList = new XMLList(originalXML); > > but seems like when I remove elements form copy the original is gets > affected too. So, how do I copy XMLLists? > > Thanks
