The HTML5 Flash Marriage: Geolocation source
Last Friday I blogged about how HTML5 and Flash could also just work together. A few people have asked if they could get the source files. I just packaged and uploaded the FLA, ActionScript class and HTML files. Download the zip file here.
A few people have also noted that the demo doesn’t work across different platforms even when using the same browser. While I wanted to demonstrate how Flash and HTML5 can coexist and even complement each other, it is (sadly) also a demonstration on how HTML5 is being implemented differently across browsers and operating systems. Feel free to post a comment if you know about fixes or workarounds in the JavaScript to make it work on more browsers.
3 Comments
Trackbacks/Pingbacks
- Carsten Schuetz - #html5 and #flash - hand in hand! a nice example by @sjespers http://bit.ly/9ykGvG







Take a look at this github gist: http://gist.github.com/289323
@Arnout: Thanks for that example. That actually uses an IP-database as a fallback. I’m going to use a fallback in my Flash app by calling a similar database directly from my Flash application.
Serge’s article is about the Flash. For simple HTML 5 geolocation, you can see the demo and free sample codes at http://www.ipgeo5.com.