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!