O'Reilly logo

Wordpress and Flash 10x Cookbook by Sarah Soward, Peter Spannagle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating Google Maps into your Flash document

It is possible to incorporate a scrollable map from Google into a SWF. This recipe tells you how to do that. The steps are modified from the very effective tutorial at http://code.google.com/apis/maps/documentation/flash/intro.html. This recipe is honed down to the essential steps for working specifically with Flash CS4 and Google Maps API library. A perk of incorporating a Google map in this fashion, rather than just using a static bitmap image of a map, is that as Google updates their map library, you get to reap the benefits of those updates.

Getting ready

You must have a URL that belongs to you in order to get an API key from Google to use their Google Maps API library.

Go to http://code.google.com/apis/maps/signup.html ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required