For this example the Company Information Web Service was used, you can find more information on this service here: http://www.flash-db.com/services/?ID=10&sType=Business. Use the wsdl inspector to learn more about the service.
The following code was used:
#include "NetServices.as"
#include "NetDebug.as"
quoteResult = new Object();
quoteResult.onResult = function(result){
_root.Thinking.gotoAndStop(1); // stop loading animation.
// handle results
company = result.company;
lastPrice = result.lastPrice;
tradedTime = result.tradedTime;
tradedDate = result.tradedDate;
change = result.change;
changePercent = result.changePercent;
open = result.open;
yesterdayClose = result.yesterdayClose;
dayLow = result.dayLow;
yearHigh = result.yearHigh;
yearLow = result.yearLow;
volume = result.volume;
PE = result.PE;
earnPerShare = result.earnPerShare;
yield = result.yield;
divShare = result.divShare;
marketCap = result.marketCap;
}
//System.onStatus = quoteResult.onStatus;
quoteResult.onStatus = function(status){
status = status.description;
trace("Error: " + status.description); //provides good error handling inside flash
_root.Thinking.gotoAndStop(1); // stop loading animation.
}
// sets up the gateway connection.
var serverConn = NetServices.createGatewayConnection("<webroot>path to your gateway");
// sets up quote service.
var quoteService = serverConn.getService("http://www.flash-db.com/services/ws/companyInfo.wsdl", quoteResult);
function getCompanyInfo() {
// at some point you may have to be a flash-db member to use.
// right now the username and password are not authenticated.
_root.Thinking.gotoAndPlay(2);
params = {
username:"any",
password:"any",
ticker: _root.symbol
}
// call the quote service.
// use the wsdl inspector at flash-db.com/services/ for more info on the service.
// doCompanyInfo is the web service we are invoking in this case.
quoteService.doCompanyInfo(params);
}
Download the Stock Quotes Source Files - be sure to check the message board for updates.

5 most recent
Flash button as Flex icon
Tree menu
Web Services
Flash Spell Checker
Flash Remoting Library
MX 2004 Chart/Poll