Using Geolocation with Flex in the Browser

I went to http://www.html5rocks.com, and some of the samples didn’t work. The one that did, however, was Geolocation. I thought it was neat because you didn’t need to utilize an iPhone/Android phone to get Geolocation data, and thus know where you are. I’ve read on Twitter that it’s not very accurate. Not sure how it works, but it’s been accurate for me. The browser support, however, has been atrocious. So far, the sample below only works in Chrome and Opera. Safari and Firefox don’t seem to work for me. Safari does pop up the permission dialogue, but just sits there; no error, no update. Regardless, I wanted to see if I could integrate that location data into Flash.

Continue reading “Using Geolocation with Flex in the Browser”