StockPrice

Example of a level 1 accessor. The StockTick actor below is an instance of JavaScript, overridden so that the script is hidden. It has one parameter, the stock symbol. When it fires, the script constructs a URL to retrieve the current stock price from Yahoo, then extracts the price from the return JSON, and outputs the current price.

StockPrice is available in two formats:

See Web Start Help for details.