Stock Ticker

This recipe uses the Dynamic Image Server to display a continuously scrolling and updated list of stock quotes.

StockTicker.jpg

Stock ticker scrolls horizontally along the bottom of the screen.

It uses a Flash image that obtains and renders stock quotes obtained from:

The script used in this Adobe Flash file was taken from this tutorial, where you can also read more about how it works:

Configuring the Dynamic Image Server

The WATCHOUT Dynamic Image Server needs to be configured as in the “Uploading with a Browser” recipe. Download the attached “StockTicker.zip” file, unpack it and copy the file “StockTicker.swf” to the C:\DynImages folder. This file is subsequently used by the image server to render the news feed. Make sure the image server is running before proceeding. 

NOTE: The attached “StockTicker.zip” file also contains the source file (StockTicker.fla), and its associated script file, in case you want to change it. Doing so requires Adobe Flash Professional CS5 or later.

WATCHOUT Show

Download the attached “StockTickerShow.zip” file, unpack it and open the resulting StockTicker.watch file in WATCHOUT. Make sure the show is configured with the correct address of your Dynamic Image Server, which is set under Preferences > Control > Default Dynamic Image Server Address. Now run the main timeline to display the feed.

StockQuoteDynImg.PNG

Dynamic Image Settings. Notice the parameter used to select which stock to display.

NOTE: The Dynamic Image Server must have internet access for this to work, since it pulls the feed directly from the web.

The show uses three dynamic images, all pointed to the same StockTicker.swf file, but using different parameters. This parameter is used by a script inside the Flash file to determine which stock quote to fetch from the web server.

To run the show on a real display, start WATCHOUT display software on a separate computer and set the address and resolution of the single display in the show to match that of your display computer. 

 

Files attached to this recipe: