e beh è normale, tu hai scritto path cche non è una proprietà di XML,infatti se pubblichi ti da il messaggio di errore.Se vuoi usare path, devi estendere la classe XML.
codice:class MyXML extends XML { public var path; function MyXML() { if (arguments.length>1) { path = arguments[0]; super(arguments[1]); } else { super(arguments[0]); } } } // var mio_xml:MyXML = new MyXML();