Sorry for the cut-off email.

Hi superdelux-

I would suggest using customContent for your info windows, modifying
the InfoWindowBodySprite class used here:
http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CustomInfoWindowStyledDemo/srcview/index.html

Then you can put code like the following in your body:

var clickMore:LinkButton = new LinkButton();
    clickMore.percentWidth = 100;
    clickMore.label = "Google";
    clickMore.addEventListener(MouseEvent.CLICK, function(e:MouseEvent):void {
        var request:URLRequest = new URLRequest("http://www.google.com";);
        navigateToURL(request, "_blank");
    });
    addChild(clickMore);

    var zoomIn:LinkButton = new LinkButton();
    zoomIn.percentWidth = 100;
    zoomIn.label = "Zoom In"
    zoomIn.addEventListener(MouseEvent.CLICK, function(e:MouseEvent):void {
        map.zoomIn();
    });
    addChild(zoomIn);

- pamela

On Wed, Nov 26, 2008 at 4:04 PM, pamela fox <[EMAIL PROTECTED]> wrote:
> Hi superdelux-
>
> I would suggest using customContent for your info windows,
>
> On Tue, Nov 25, 2008 at 9:07 PM, superdelux <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> i'm new to Google Maps Flash API but i'm getting along well,
>>
>> i have a simple question, now when i click a marker, a infoWindow
>> appears,
>> i'd like to know three things.
>>
>> first, how can i put a link in the infoWindow:
>> - a link when it's clicked to zoom in on the marker
>> - a link to another webpage
>>
>> and want to zoom in as the marker is clicked.
>>
>> i know these are two different things but i want to know them both,
>> should be real easy but i can't find it anywhere.
>>
>> thanks in advance.
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to