You can have it trigger a "close" event, and use that to call map.closeInfoWindow().
This example demonstrates that - see the third infowindow created, and the corresponding InfoWindowSprite.as: http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CustomInfoWindowsDemo/CustomInfoWindowsDemo.html On Thu, Jan 14, 2010 at 8:22 AM, help(question) <[email protected]> wrote: > I have a custom infoWindow that I created using a Sprite. > > infoSprite = new InfoWindowSprite(); > var myInfoWindowOptions = new InfoWindowOptions > ({customContent:infoSprite... > > I have a button inside the the InfoWindowSprite.as file that I would > like to broadcast a close event to the infoWindow. Does any one have > any suggestions on how I would go about doing that? > > 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 > [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. > > > >
-- 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.
