Re: [Flashcoders] LoadVars to XML object

2006-10-17 Thread Chip Moeser
// var newXML:XML = new XML(src); } HTH Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chip Moeser Sent: 17 octobre 2006 12:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadVars to XML object Is there a way to do this without

RE: [Flashcoders] LoadVars to XML object

2006-10-17 Thread Alain Rousseau
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chip Moeser Sent: 17 octobre 2006 12:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] LoadVars to XML object Is there a way to do this without specifying a URL in sendAndLoad? or without actaully sending it out anywhere? I have a php page which

Re: [Flashcoders] LoadVars to XML object

2006-10-17 Thread Chip Moeser
Is there a way to do this without specifying a URL in sendAndLoad? or without actaully sending it out anywhere? I have a php page which in an initial load vars sendAndLoad is sending back xml. SInce Flash see's it as a string I just want to convert it to an xml object without sending it out

Re: [Flashcoders] LoadVars to XML object

2006-10-17 Thread Chip Moeser
Thanks! On Oct 17, 2006, at 12:26 PM, Cedric Muller wrote: var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function () { trace(this); } var lv:LoadVars = new LoadVars(); lv.sendParam1 = "bla"; lv.sendParam2 = "blo"; lv.sendAndLoad(url, xml, "POST"); hth, cedric Hello A

Re: [Flashcoders] LoadVars to XML object

2006-10-17 Thread Cedric Muller
var xml:XML = new XML(); xml.ignoreWhite = true; xml.onLoad = function () { trace(this); } var lv:LoadVars = new LoadVars(); lv.sendParam1 = "bla"; lv.sendParam2 = "blo"; lv.sendAndLoad(url, xml, "POST"); hth, cedric Hello All, I am trying to convert the return string of a loadvars to