On 27 Feb, 21:13, Richard <[email protected]> wrote:
> I ended up just listening for the MOUSE_DOWN and inferring my own
> click.
>
> If you have to, you can catch the CLICK or MOUSE_DOWN and either:
>
> Create a timer, and have that TIMER event perform the click activity
> (make sure you null-out the persistent timer reference variable)
> or
> See that the timer exists, kill it, and perform theDOUBLE_CLICK
> activity.

As an ugly workaround, I tried catching the MOUSE_DOWN event and
setting up a timer. If I get another MOUSE_DOWN before the timer
expires then I have a double click and otherwise I have a single
click. Anyway, this did not work because if the two mouse clicks of a
double click are too close to each other (as it is the case in a
typical double click) then I don't receive the second MOUSE_DOWN event
at all. I kind of solved the problem by asking the user to press the
Shift key while performing a click, but I'm still looking for a better
solution.

Sydney
--~--~---------~--~----~------------~-------~--~----~
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