public class Main extends Sprite{ public function Main(){ var str:String = "<gamescore><username>username </username>" + "<score>111</score></gamescore>";
// Pass the string to the constructor to create an XML object var example:XML = new XML( str ); } } }
Related Scripts with Example Source Code in same category :