WeatherService

Hi there all

Does any of you guys ever try to get a weather service running on you project?.. I found this code on www.flash-db.com

#include “NetServices.as”
#include “NetDebug.as”

// create result handler for results and error messages.
serviceResult = new Object();
serviceResult.onResult = function(result){
****trace(result)
}
serviceResult.onStatus = function(status){
****trace(status);
}

// sets up the gateway connection.
var serverConn*****= NetServices.createGatewayConnection("<PathToGateway>");

// sets up the service.
var service = serverConn.getService(“http://live.capescience.com/wsdl/AirportWeather.wsdl”, serviceResult);

// Set the params and call the service
// returns weather for an airport code.
params = {
****stationcode:‘KJFK’
}

// calls the getTemperature method.
service.getTemperature(params);

Does anyone knows hot to transfer the possible result value into a dynamic text filed?

Or any other way using PHPObject or AMFPHP?

Please!

Is it possible to show what the weather is in one particular city on a website? I’m trying to disply what the weather is in Alexandria, VA so that no matter when someone logs in they can see what the weather is on my side of the earth.

Kelly