When I trying to save a stream to a file, with the following script, the trace gives me undefined.... any ideas??
Code:
var theXML;
trace(theXML = FlashPlayer.getVariable("_level0.theXML"));
trace(df = "c:\\presentation.xml");
trace(file_stream = new FileStream(df,"w"));
trace(file_stream.writeUnicodeString(theXML));