For my Flash ActionScript Techniques course one of our assignments was to build a weather application using the Yahoo Weather API. The UI for this app was built in Flash CS5 and the functionality was coded in ActionScript 3 using FlashBuilder 4.5. We had to display unique icons for the different weather codes as well as display fundamental weather data by zip code.
While reading through the documentation I discovered that Yahoo was in the process of deprecating zipcode queries to their API. Instead they would only allow calls using what they refer to as a Where On Earth ID (WOEID). At the time of the project zip codes still worked, but I wanted to ensure that my application would be up and running long after the project and the course were over. That is why I wrote a utility class which converts zip codes into WOEIDs using YQL. You can find a copy of this class on GitHub: https://gist.github.com/1915546
Created using: ActionScript 3.0, Flash CS5, Yahoo Weather API
I am happy to say that my app is working even to this day. Try it for yourself using the link below.