try something like this... not checking but it should works
var poly:Polygon = new Polygon(.......);
poly.addEventListener(MapMouseEvent.MOUSE_OVER, function
(e:MapMouseEvent) {
map.buttonMode = true;
});
poly.addEventListener(MapMouseEvent.MOUSE_OUT, function
(e:MapMouseEvent) {
map.buttonMode = false;
});
map.addOverlay(poly);
On 3 май, 17:52, Javier de la Torre <[email protected]> wrote:
> Hi,
>
> I have clickable polygons in my map. I was wondering if there is a way
> I can change the cursor to a hand cursor when hovering over them. I
> have a hover function already as I change the color of the polygon
> when going over, but I dont know how to change the cursor.
> I know CursorManager and that I can set up the busy cursor, but is
> there a way to set the hand cursor? Or do i have to create my own hand
> cursor image?
>
> 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
-~----------~----~----~----~------~----~------~--~---