![]() |
![]() ![]() |
StockTicker component version 1.6
tickerInstance.quoteRetriever
Property; An object. The quoteRetriever is an instance of any class derived (extends) from StockQuoteRetriever. The StockQuoteRetriever ActionScript class file is included with your installation package. Using quoteRetriever property allows you to connect to a web service of your choice and to communicate data retrieved from this service to your ticker. Your class must override key functions of StockQuoteRetriever (namely createWsConn() and result()) in order to set up the retriever to call your web service and process the result.
The following code sets the ticker to use an instance of 'MyQuoteRetriever':
var myRetriever = new MyQuoteRetriever();
myTicker.quoteRetriever = myRetriever;
![]() ![]() |
|