Paul,

Is your custom marker using the Map API's marker class (or another
IOverlay implementation)?  If so you can try adding a normal
MouseEvent.MOUSE_OVER event listener to the marker.foreground
DisplayObject.

event.currentTarget should refer to the marker itself.

if your marker is totally custom and linked to the map with a
Map.fromLatLngToPoint() or some such - listening for this MouseEvent
on the marker DisplayObject itself should work.

I actually didn't realize that MapMouseEvents were being dispatched
from IOverlays though - so perhaps you've found a more elegant
approach.

Hope this helps.

On Jun 10, 6:17 am, "[Paul Ferrie]" <[email protected]> wrote:
> Hi guy's/Girls, pamela ;)
>
> Search the board but couldn't find anything on this.
>
> I am using a custom maker with framed animation. the marker initially
> plays the animation which is fine. I am trying to get it to play again
> on rollover with no success.
>
> anyone?
>
> //
> marker.addEventListener(MapMouseEvent.ROLL_OVER,
>         function(e):void{
>                 e.play()
>         });
--~--~---------~--~----~------------~-------~--~----~
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