Surely you can just output the content of the in either a mx:Text or mx:TextArea.

If it's coming back as an ActionScript XML object you can use objName.toString() to convert it to plain text.

something like this:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; creationComplete="showXML();">
<mx:Script>
<![CDATA[
function showXML():Void {
var foo:XML = new XML("<state name=\"California\"><city>San Francisco</city></state>");
debugOutput.text = foo;
}
]]>
</mx:Script>
<mx:TextArea id="debugOutput"/>
</mx:Application>


In your case you should just need to change the code that generates the var foo.

HTH

Spike

dduuggllaa wrote:

--- In [email protected], Abdul Qabiz <[EMAIL PROTECTED]> wrote:

Hi,

<mx:Model> can not be used on runtime. You can look at FlexBuilder

debugger

and network monitor, its just super cool....

You can also install Mozdev's "Live HTTP Header" extension in

Firefox to see

the HTTP Header and other data passed while communication to server...

Are you talking about a flex app that does this?

-abdul


Wow. I just assumed this was trivial to do. I had no idea I have to
jump through so many hoops.

Let me try a different tack. Is there no way to write an object in XML
to a file on disk? Does the method foo.write("bar.xml") for any object
not exist?

-Douglass







Yahoo! Groups Links









--

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org




Reply via email to