Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash ActionScript 3.0 Google Map API Tutorial 1 of 2 by tunevision

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
15,831
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 15, 2010

http://tunevision.tv/downloads/tvMap.zip

How to put Google Map in your Flash application using AS3

Download the source pack by clicking the link above.

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (tunevision)

  • Thanks, mate! You could put in their coordinates if you have them... but to get their location, you would have to trace the IP address and then code it so that it converted that variable to coordinates. It could be done, but this tutorial doesn't address that.

  • Hey John, I've added a google map to a Flash site I'm creating by following your excellent tutorial. I need to take it a bit further now with "Get Directions" funtionality. Any chance of some pointers towards that?

    Thanks in advance for any help :D

  • nusphere,

    Thanks for the praise! It's gratifying to know that the tutorial is useful.

    I stopped shy of the directions aspect and hope to address it later. For now, I recommend you look at:

    code.google(dot)com/apis/maps/­documentation/flash/demogaller­y.html

    Type directions in the keyword search. You'll see examples. Some use XML or Java in addition to AS3. You may be able to manipulate these scripts in Dreamweaver or write your own to meet your needs. I hope this helps.

    -John

  • I tried to respond here on YouTube earlier. I learned that web addresses may not be posted.

    To make the address above work, change the (dot) to . and remove the spaces between

    maps/ documentation and demogaller y.

    -John

see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • anyone think he should get someone else to do the commentary..?? the reason I didn't watch this for more than 30 seconds is his boring voice..!!

  • map.addControl(new google.maps.LocalSearch()); <---- i put that on actions and it does work! :(

  • and if i wish to be England the default country rather that island how to do it?

    sorry for the questions i'm just trying to learn a bit of action script ! ;) i found how to do it ok thanks!

  • and if i wish to be England the default country rather that island how to do it?

    sorry for the questions i'm just trying to learn a bit of action script ! ;)

  • Hey mate thanks a lot for the tutorial can i ask you something? can i find the current user's location with that tutorial....

  • thank you. cool tut

  • Dear John,

    I've added a google map to a Flash site and I'm creating by following your nice tutorial too. but the flash gave me a error code like this..

    1084: Syntax error: expecting identifier before var.

  • hey, can you also put google maps in flash builder, it works in flash but at the moment not in flash builder! thanks

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more