Sorry to repost but I felt this deserved its own post. Many people has
asked me how you can code a pure AS3 solution without using the Adobe
Flash CSx GUI.
Here is that solution:
download the free Flash Develop (www.flashdevelop) code editor. This
is an amazing piece of open source software with incredible code
hinting. PLEASE DONATE IF YOU CAN.
download the Flex_sdk
Install both. (if you install the Flex SDK to the tools folder under
Flash Develop - it will automatically configure the Flex_SDK for you
in Flash Develop
Download the zip file below (of course unzip it) and place it
somewhere you can access it.
On the right hand side you should see a "Project" window with all of
Under there should be a "lib" folder. The latest "map_1_16.swc" should
already be present and its font in blue (this means it has already
been added to the library).
At the top of the project window right click on "GoogleMapInit(AS3)"
There should be a menu item for "properties" click that and then
select the [classpaths] tab.
Click "Edit Global Classpaths" and make sure you see the Flex_sdk in
If not it should be located somewhere like (c:\program files\Flash
So click add and browse to where you have unzipped the Flex SDK
You should now be ready to test the code.
At the top in the horizontal bar is a dropdown which reads [Debug][v]
Click the |> Play icon next to that. It should compile and everything
If not - you may not have already installed the Flash Debug player.
You will need to go to Adobe.com and locate and install this.
If you want to try again without installing the debugger at this time,
you can change the [Debug][v] option to the [Release][v] option and
click the play icon.
You should successfully see the map with an open info window which
Hope this helps. I know most of us are all about fast, easy solutions.
Flash Develop is by far the most robust, easiest (not to mention
cheapest) solution out there for PCs.
Oh yeah - sorry mac people this only works for pc.
I have setup a basic flash develop project.
This will allow you to code an entire google maps flash API project
without using the Flash GUI.
It relies entirely on the google maps 1.16 swc (the non flex version).
It also relies on you having downloaded and installed the Flex_sdk to
The only additional step you would need to make (beyond unzipping this
file and opening it with free FlashDevelop - www.flashdevelop.com)
Is to link the flex sdk via global settings in flash develop... feel
free to contact me if you need assistance with that.