How can I retrieve CSV data from a web server using Flex?

Posted by samoz on Stack Overflow See other posts from Stack Overflow or by samoz
Published on 2010-05-18T00:00:19Z Indexed on 2010/05/18 1:10 UTC
Read the original article Hit count: 308

Filed under:
|

I am trying to retrieve a stock quote from Yahoo! finance using Flex. I currently have it set so that it will pull the quote like I want, but it opens it in a new file. However, I want to store the CSV data in a variable so that I can use it in my program.

How do I do this?

Here is the code that I am using right now:

navigateToURL(new URLRequest("http://download.finance.yahoo.com/d/quotes.csv?s=aapl&f=l1"),"_self");

© Stack Overflow or respective owner

Related posts about flex

Related posts about csv