**flash weather forecaster**
Out of context: Reply #9
- Started
- Last post
- 17 Responses
- pixelEngine0
Web services baby.... just pass it a ZIP.
//Below begins the weather retrieval...
System.useCodePage = true;
var ZipCode;//="56701";
_root.weatherText._visible = true;
_root.weatherText= "Weather system currently loading weather coefficients.";
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("http://www.ejseā¦...
myXML.onLoad = function(s) {
_root.weatherText.htmlText = "";
var temp = this.childNodes[0].childNodes[2...
var forecast = this.childNodes[0].childNodes[4...
var wind = this.childNodes[0].childNodes[10...
trace(forecast+temp+" degrees & wind at "+wind);if(wind == null){
trace("no weather today");
_root.weatherText = "";
_root.weatherButton._visible = false;
_root.travelCon._visible = false;
}else{
_root.weatherText = "The weather is:"+" "+forecast+" and "+temp;
}}