Hi acts7-
I emailed this to you offline, but I'll post again in the forum for others.
You can use a Text UIComponent inside your infowindow, and pass the HTML
into that. Here's part of my code for the Santa Tracker map that does this:
var box:Box = new Box();
box.setStyle("horizontalAlign", "center");
var bodyTextField:Text = new Text();
bodyTextField.setStyle("textAlign", "center");
bodyTextField.percentWidth = 90;
bodyTextField.htmlText = "<center><b>" + location.full_location +
"</b></center>";
bodyTextField.selectable = false;
box.addChild(bodyTextField);
- pamela
On Wed, Mar 25, 2009 at 7:44 AM, [email protected] <
[email protected]> wrote:
>
>
> http://www.myvideosnapshots.com/examples/googlemaps/google_customContent.zip
>
> Here is the project file (FlashDevelop) but any other AS3 editor
> should be able to open the files.
> I am having issue getting a string to show up in customContent.
>
> Could someone (Pamela perhaps?) show me how to take this contentHTML
> string and place it into a customContent container - so that it
> actually SHOW when the marker is clicked.
>
> All I get is a blank infoWindow when I assign the "htmls" string to
> customContent.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---