It is as simple as using events with any other object. // First define an object, ie Marker var marker:Marker = new Marker(new LatLng(56,-111));
// Create an event listener for the object marker.addEventListener(MapMouseEvent.CLICK, yourFunctionToHandleEvent); Using this in combination with Pamela's link will get you started on events. On Jan 2, 10:54 pm, "pamela (Google Employee)" <[email protected]> wrote: > Hi Scott- > > I recommend this section of the > documentation:http://code.google.com/apis/maps/documentation/flash/events.html#Even... > > - pamela > > On Sat, Jan 3, 2009 at 9:42 AM, dyc <[email protected]> wrote: > > > Hey guys, > > > I am trying to figure out how I can add a mouse event listener to a > > marker node I placed on the map. > > > Any ideas? Is it even possible? > > > Thank you! > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
