Possible google maps style draggable map with buttons?

Hi, I’m trying to build a draggable map (within a certain visible area) that has clickable buttons on it, just like google earth. I’d like the map to be quite larger but only a section of it visible but it can be dragged around (inside the visible area) so that other areas can be made visible.

I haven’t been able to find anything to help me so far =/

EDIT: I found this tutorial but I can’t seem to make it work. a) I’m using a mac but found the right folder to copy the file too and b) I get this error “1046: Type was not found or was not a compile-time constant: DirectionsEvent.” When I open the components box in flash, under Standard Components I have “GoogleMapsLibrary” so I guess it should recognise it?