hi. I have the following code:
Actionscript Code:
var xml:XML=new XML("<info></info>");
            xml.appendChild("<action>login</action>");
            xml.appendChild("<username>"+this.user+"</username>");  
            xml.appendChild("<password>"+this.pass+"</password>");  
                        trace(xml.toXMLString()+"\n");

the following code works great if I compile the flash as flash 9, but if I compile it as flash 10 i receive the following message
<info>
&lt;action&gt;login&lt;/action&gt;
&lt;username&gt;username&lt;/username&gt;
&lt;password&gt;pasword&lt;/password&gt;
</info>
how can I make it send without the converting it to html entity code ??
Like I said works great in flash 9, but I need to work in flash 10 as well.