Parsing Facebook RFC3339 Timestamps in AS3

I had an email this evening about parsing Facebook timestamps in Actionscript 3. The format for timestamps is defined in RFC3339 which as I've discussed previously, is a profile of ISO8601.You'll have come across these before if you've ever worked with Atom feeds. It seem's Facebook's implementation has been returning an invalid UTC offset of+0000 instead of the more correct Z (for Zulu Time) or +00:00 or -00:00. This inevitably has been causing some parsers to break. Believe it or not this is...

Read More

Cynergy MultiTouch Calendar for AIR 2.0

There were lots of new feature announcements at Adobe MAX this year but one of the most exciting was support for multi-touch in Flash Player 10.1. This along with the likes of accelerometer are paving the way for a massive push onto smartphones. You won't be able to buy a smartphone next year that doesn't come with a Flash Player... okay, maybe just one. During the keynote Adobe CTO Kevin Lynch demonstrated multi-touch in AIR 2.0. What caught my eye was the app was using multi-touch gestures to...

Read More

Searching the Digg API with AS3

I've been messing around with a lot of social API's recently. Most of the common ones have their own AS3 wrappers although often these are authored by someone else. The diggflashdevkit for the Digg API for example is written by the guys over at Stamen who, as I'm sure you're aware, have got some game. It's a nicely architected framework with cleanly separated model and service classes. Calls to Digg are proxied through the com.digg.services.API class. This contains methods for all the API calls...

Read More

Hacking the Date class for GeoLocation

🟥This post previously contained Flash content. The demo above attempts to locate your current position on the earth. I can't take any credit for the 3D stuff as I based it on Andy Zupko's great post about Geolocation in Papervision3D. My little contribution is the code below. This takes the humble Date class and does some reverse engineering on it to derive your approximate location on the earth. First the code, then I'll explain how it works... // Estimate Latitide and Longitude from the Dat...

Read More