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.

Tags: , , , , , , , ,

4 Responses to “The HTML5 Flash Marriage: Geolocation source”

  1. Arnout 08. Mar, 2010 at 1:43 pm #

    Take a look at this github gist: http://gist.github.com/289323

  2. Serge Jespers 08. Mar, 2010 at 2:41 pm #

    @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.

  3. Tom 09. Mar, 2010 at 1:31 am #

    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.

Trackbacks/Pingbacks

  1. Carsten Schuetz - 20. Apr, 2010

    #html5 and #flash – hand in hand! a nice example by @sjespers http://bit.ly/9ykGvG

Leave a Reply