Reading about google maps I found a utility library for google maps that add the maps of the Sky, Moon and Mars. The library contains more tools.
For more information visit the google code page of this library
http://code.google.com/p/gmaps-utility-library-flash/
GOOGLE SKY EXAMPLE (or press the image to go)

GOOGLE MOON EXAMPLE (or press the image to go)

GOOGLE MARS EXAMPLE (or press the image to go)

The Google Maps API lets you embed Google Maps in your own web pages with JavaScript. The API provides a number of utilities for manipulating maps (just like on the http://maps.google.com web page) and adding content to the map through a variety of services, allowing you to create robust maps applications on your website.
In this post I will explain how to use the Google Maps API.
1.- The first thing that you need is to get your API KEY
Go to http://code.google.com/apis/maps/signup.html
After read and accept the terms and conditions and give your domain name. You will get your key.

2.- The next step is download the library kit of google maps for actionscript and flex.
To download the kit CLICK HERE
The kit contains 2 .swc files with the library.
3.- With the key and api we are ready to start with the code. Create a new project and config the library path to read the swc file downloaded. In your Flash IDE press edit-preferences-actionscript- actionscript 3 and add the folder with your swc files.
4.- THE CODE.
var _map:Map = new Map();
_map.key = "ACA DEBEN PONER SU KEY";
_map.language = "es";
_map.setSize(new Point(stage.stageWidth, stage.stageHeight));
_map.addEventListener(MapEvent.MAP_READY, onMapReady);
_map.y = 50;
addChild(_map);
function onMapReady(event:Event):void {
_map.setCenter(new LatLng(40.736072, -73.992062), 14, MapType.NORMAL_MAP_TYPE);
}
With this simple code we have our example working.

I hope this post help you to understand how works the google maps API. Any question or suggestions are welcome
VIEW EXAMPLE
DOWNLOAD EXAMPLE