Thanks! I was looking into that, and found out that I didn't import the MapMouseEvent class :P
On Sep 1, 9:21 pm, Aaron Donohue <[email protected]> wrote: > You can add an event handler for MapMouseEvent.DRAG_START and > MapMouseEvent.DRAG_END. In each of these handlers you could set a > global member variable (_isUserDragging:Boolean = true/false). Here > is the documentation on these > events:http://code.google.com/apis/maps/documentation/flash/reference.html#M... > > On Sep 1, 6:16 am, rebellion <[email protected]> wrote: > > > > > How can I do a check if user is dragging the map? > > > I basically have an eventlistener which shows a movieclip around the > > mouse cursor if the user click and hold the mouse for two seconds. > > > The thing is that I don't want the eventlistener to count two seconds > > if the user is dragging, since it will show the movieclip and stop the > > dragging after two continuous seconds of dragging. > > > Is there a map.isDragging() function or something? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
