Getting Yahoo Stock Quotes with Flex 2.0

I put together a quick, low-level proof of concept that we may use for some of our learning simulations and thought I’d share it.

It’s a Flex 2.0 application that goes out and grabs stock data from Yahoo then dumps it in chart format to the screen. It uses the CF Adapter, but it really doesn’t have to, it probably should just be an HTTPServices call. I did want to do a little data manipulation within the CFC and I also wanted to build in the pause so that there would be some data differentiation.

This also could have been done with Flex 1.5 (in fact, the Charting Components Explorer has something like this), but we’re really excited about being able to use the enterprise services to accomplish something similar to this, so that’s why I put it together.

I also don’t host my own server, so I can’t run an example of it here, but feel free to download the source files.

index.mxml

StockCall.cfc

  • Pingback: Slot Guide

  • http://hometown.aol.com/LoveTijuana91 barakukka

    Thanks for your great site