We saw how load an external XML file with Actionscript 3.0 and also how to work with a RSS and Flash CS3 to create a titles slide.
Today, we will see how to use a free Yahoo service to retrieve the data of the worldcities weather prevision.
This service, named Yahoo Weather, gives us a RSS which is nothing else then an XML file.
Basically:
We call a script placed on the Yahoo server and we pass to it the ‘id’ city and a value ‘c’ (for centigrade) or ‘f’ (for Fahrenheit) and Yahoo returns an XML file with the value for the chosen city.
Let us see how to do it…










{ 0 comments… add one now }