I believe so, but the XML type is intrinsic to AS3 and so I believe you
need to use AMF 3 to serialize this type in general. Can you try
explicitly setting the objectEncoding to ObjectEncoding.AMF3 on your
shared object to see if it makes any difference (it should be AMF 3 by
default, but I want to make sure)?
 
As another test, could you try constructing a legacy XMLDocument
instance from the XML and see if that stores correctly instead?
 
import flash.xml.XMLDocument;
 
var myXML:XML = someHowYouGetThisXMLInstance();
var xmlDoc:XMLDocument = new XMLDocument(myXML.toXMLString());
...
 
As a last resort you could store it as a String and reconstruct the XML
each time. But if it gets to that it would be something the Flash Player
team should investigate - in which case can you please log a bug at:
 
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=17
 
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of thierrybertossa
Sent: Wednesday, April 18, 2007 7:11 AM
To: [email protected]
Subject: [flexcoders] XML with local shared object



Is there a way to store XML in a local shared object?



 

Reply via email to