There is a sample Flex App called FileIO that demonstrates downloading
and uploading files at 

 

http://www.adobe.com/support/documentation/en/flex/#content

 

It is part of the .zip download under Actionscript 3.0 examples

 

Lee

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Fidel Viegas
Sent: Wednesday, February 20, 2008 4:31 PM
To: [email protected]
Subject: Re: [flexcoders] Download physical file with URLLoader

 

Have a look at flash.net.FileReference

that has a download method. That is what you should use to download or
upload files.

Fidel.

On Wed, Feb 20, 2008 at 5:23 PM, Eric Cobb <[EMAIL PROTECTED]
<mailto:flexcoders%40ecartech.com> > wrote:
>
>
>
>
>
>
> I'm trying to figure out a way to connect to a remote URL, and
download
> a file from that URL. I'm already using URLLoader to connect to the
URL
> and read an XML file, would I use URLLoader for this as well? I want
my
> Flex 3 /AIR app to be able to hit this URL and download a .db file for
> updates.
>
> What's the best way to go about this?
>
> Thanks!
>
> Eric
>
> 

 

Reply via email to