Flash Video Player

Yahoo Weather

by admin on September 6, 2007 · 0 comments

in Flash CS3, Flash CS3 and XML, Tutorials

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…

Read more

Share This Post

Related posts

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

Older post: Properties of methods

Newer post: Spring more friction and gravity