Can I caputure the mouse down timing in flex ? If the user hold the mouse down for 30 milli seconds i have to fire an event. Please show me some pointers to implement this feature.
Create a global variable and on mouse down store the current time.
Also on mouse down, create a Timer object and let it fire each 250 milliseconds. It should check the current time against the stored time above.
In a mouse up handler reset the current time variable.
If you hit 30 seconds in the timer checking the time, do whatever you wish.
If this post answered your question or helped, please mark it as such.
Thanks for the reply. I will implement as you mentioned.