I got mine working in the end the flex object needed a width and a
height setting before it would display.
Note: I extend classes with UIComponents or cast them if i get type
coercion errors, in this case it isnt the issue for me however. The
flex objects would be there just not showing.

will dont worry if you used the wrong one, should be easy to just swap
in the correct lib.

On Dec 28, 7:51 pm, [email protected] wrote:
> Sacré bleu!
>
> I wonder if I have the wrong swc file.
>
> Pamela the "Demo" section obviously has a search box (which I admittedly 
> could learn to use better) but it would probably help people a good deal to 
> organize many of the examples in there under the Examples section. $.02
>
> -----Original Message-----
> From: "pamela (Google Employee)" <[email protected]>
> Sent: Monday, December 28, 2009 2:26pm
> To: [email protected]
> Subject: Re: inserting Flash objects inside OpenInfoWindow ?
>
> There are two SWCs for the Flash API - one of them has the Map class
> as a subclass of UIComponent, and therefore allows the use of
> UIComponents inside infowindows. That is the "_flex.swc" file. The
> following demo shows using a UIComponent as 
> customContent:http://code.google.com/apis/maps/documentation/flash/demogallery.html...
>
> On Tue, Dec 29, 2009 at 12:39 AM, Will <[email protected]> wrote:
> > I've also been unable to get classes that extend UIComponent to display
> > in the infoWindow.
>
> > Its my understanding that UIComponents must be nested in other
> > UIComponents, and infoWindow is probably just a sprite. If this is the
> > case Google would need to fork the Flash api into a Flex api.
>
> >www.landed.atwrote:
> >> Out of interest I have created a custom class for my info window, but
> >> is there some bug that will not allow flex components to display ?
>
> >> var tempDetail:Detail = new Detail(map.stage,aShopsResorts[id].href);
>
> >> event.currentTarget.openInfoWindow(new InfoWindowOptions
> >> ( { customContent:tempDetail, hasShadow:false,
> >> hasCloseButton:false } ))
>
> >> Detail is a class that will display regular flash items but anything
> >> flex will not ? for example a simple flex button...has anyone had this
> >> issue.
>
> >> --
>
> >> 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 
> >> athttp://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
> --
>
> 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 
> athttp://groups.google.com/group/google-maps-api-for-flash?hl=en.

--

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