Flex 3 - Send a HTTP Get request from Flash and want Firefox to show Open With Box.

Posted by Kash on Stack Overflow See other posts from Stack Overflow or by Kash
Published on 2009-04-17T15:16:01Z Indexed on 2010/04/22 18:03 UTC
Read the original article Hit count: 241

Filed under:
|
|

Hi all,

I am a newb developer as far as Flex and Flash is concerned. This is what I'm trying to do:

1) Send a HTTP request to our server (with a custom made URL). The URL basically tells the server to send data in a CSV format. 2) The server sends a 200 OK response, which has Content-Type: application/csv and the payload is pure CSV data.

What I wish to do is, when firefox gets this 200 OK response, I want it to show the standard Open with box (the one that shows up when you download some file).

I tried doing this with HTTPService. I have a "Export to CSV" button on the flash component. Upon clicking that, the flash component is able to succesfully send the HTTP request. I however don't want Flash component to handle the response, so I don't have the 's "result" tag defined. But nothing happens. Any suggestions on how to do this.

© Stack Overflow or respective owner

Related posts about flex3

Related posts about http