Use single quotes to surround your html content contentHTML: 'Smoke came from this mountain, ya know. "<a href="http:// www.amazon.com">Go to amazon!</a>'
Hope that works Paul On Nov 22, 4:50 pm, dac <da...@deepcheetah.com> wrote: > How to? > > HTML code doesn't work due to quotation mark conflicts. I'd like a > hyperlink text in the content section of an InfoWindow. That's it. > Dynamic text doesn't work either. > > ex. below: "http://www.amazon.com/" I want to be a hyperlink...shows > the website URL (http://www.amazon.com/) in the InfoWindow, and then > takes you there on click: > > m2.addEventListener(MapMouseEvent.CLICK, > function(event:MapMouseEvent):void > { > map.openInfoWindow(new LatLng(22.77114, > -112.40159), new InfoWindowOptions({ > titleHTML: "<b>Smokey > Mountain</b>", contentHTML: "Smoke came > from this mountain, ya know.http://www.amazon.com/", hasShadow: > false, pointOffset: new Point(15, -30)})); > }); > > I'd love any info! > > Much thanks. -- 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 google-maps-api-for-fl...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.