Hi,
try with "htmlentities" (convert html tags with php and htmlentities)
or with this function:

function parseToXML($htmlStr)

{

$xmlStr=str_replace('<','&lt;',$htmlStr);

$xmlStr=str_replace('>','&gt;',$xmlStr);

$xmlStr=str_replace('"','&quot;',$xmlStr);

//$xmlStr=str_replace("'",'&apos;',$xmlStr);

$xmlStr=str_replace('&apos;',"'",$xmlStr);

//$xmlStr=str_replace("&",'&amp;',$xmlStr);

return $xmlStr;

}

or try online htmlentities converter like this 
http://www.w3clubs.com/htmlentities.php

On 6 Mrz., 01:51, kyffity <[email protected]> wrote:
> I am developing an air application. I cant get the image to load
> inside the infoWindowOptions. I am using the air 2.5 api with Flash
> Builder Buritto. I am pulling the lat, long, and  image url out of a
> mysql database. I am using a list component with a customItemRender.
> The item render is simple, only holding a label field and an image
> field. I am using a httpService via post method  to retreive data from
> mysql that im storing in an array collection. So to pull the data I
> need to set my markers and infoWindowOptions I am referenciing the
> list componets selectedIndex property. my code looks like:
>
> private function efunction(event:MapMouseEvent):void
>                         {
>
>                                 var nw:InfoWindowOptions = new
> InfoWindowOptions({title:ac[clist.selectedIndex].schoolname,contentHTML:'<b>Conference:</
> b>' + ac[clist.selectedIndex].conference+"\n" + '<img src=" ' +
> ac[clist.selectedIndex].logo +'"/>' +'\n<h1>' +
>                                         'School Name:' +" " + 
> ac[clist.selectedIndex].schoolname + " "
> +'</b>&nbsp;' + 'Attendance:' + ac[clist.selectedIndex].attendance+'.
> \n' + "" + '<a href="' + ac[clist.selectedIndex].url +'">' +
> ac[clist.selectedIndex].schoolname + " " + 'Home Page</a>'});
>                                 map.openInfoWindow(event.latLng,nw);
>
>                         }

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