contentHTML allows for very very rudimentary HTML input. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#htmlText
Jonathan Scribblemaps.com On Dec 6, 12:01 pm, Booie <[email protected]> wrote: > I'm trying to figure out how to use the contentHTML field for info > windows with little success. I am able to get things to appear but > the content doesn't seem to abide by any html styling. Heres is an > example of my options: > > var infoPreviewOptions:InfoWindowOptions = new InfoWindowOptions({ > contentHTML:"<div > style='background:red;'>hello</div>", > > tailAlign:InfoWindowOptions.ALIGN_CENTER, > hasCloseButton: false, > hasShadow:false, > hasTail:false, > fillStyle: { > color: 0x333333, > alpha: .8 > } > > }); > > I would expect "hello" to appear with a background of red however it > does not. > What html rules are followed? Background color is something fairly > simple so I'm confused. Thanks for your help. -- 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.
