You're looking for flash.net.FileReference- the documentation should be
fairly straightforward, but here's an example:
import flash.net.FileReference
var foo:FileReference = new FileReference();
foo.download("http://www.notaurl.com/myfile.xml?pass=your¶ms=here");
Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
www.resource.com
614 621 2888 main
614 410 3195 direct
412 726 8087 mobile
[EMAIL PROTECTED]
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of essuark
Sent: Thursday, August 30, 2007 2:09 PM
To: [email protected]
Subject: [flexcomponents] Streaming xml data
If this is the wrong place, pls let me know...
Hello all,
I want to dynamically create a xml file and then stream it back to
the browser so it could be saved? Sounds simple but I am running into
problems. Can this even be done? Any hints? NavigatetoURL I think needs
an actual file, etc. I have to assume I can create a ByteArray of text
data and just send it back. Anyone?
Thanks
Ralph Krausse