Im not an Actionscript guru so take this for what its worth. But the first thing you need is to removeEventListener once you call the action.
On 21 July, 20:55, farbodr <[email protected]> wrote: > In the code below the infoWindow appears when the cursor hovers over a > polygon as it should but the click event for the same polygon fires > intermittently. > > polygon.addEventListener(MapMouseEvent.CLICK, function > (event:MapMouseEvent): void { > // do the click thingy > }); > > polygon.addEventListener(MapMouseEvent.ROLL_OVER, function > (event:MapMouseEvent): void { > > }); > > infowindow is created like this > > map.openInfoWindow(ll, new InfoWindowOptions({ contentHTML: > content})); > > What am I missing here? > > TIA, > Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
