Hi WikiFlex-

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);

- pamela


On Thu, Jan 29, 2009 at 4:57 AM, WikiFlex_Newbie <[email protected]> wrote:
>
> Hi everyone this is my first post! I just have a question regarding
> info windows and linking to urls. Im using the Toggling Marker
> Categories example located at "http://gmaps-samples-
> flash.googlecode.com/svn/trunk/demos/MarkerCategoriesDemo/srcview/
> index.html".
>
> How would I go about setting up a website link within a info window.
> For example, lets say I click on the marker for The Melting Pot. This
> brings up the info window which includes the address for The Melting
> Pot along with a website link for Melting Pot. So by clicking on the
> website link within the info window, a new web browser would open up
> and display a website.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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