Please don't add such an event into Flex code, it's just not a part of Flex.
-Gary On Wed, Dec 25, 2013 at 9:57 PM, Gary Young <[email protected]> wrote: > There's no way to know when it's stopped, because you can't define it > clearly, the only way to define it is to set an interval during which > there's no MouseMove event dispatched, then dispatch a MouseStopped, but if > you set the interval too small, every MouseMove will have a MouseStop event. > > > I think use EnterFrameEvent will be practical, if there was any MouseMove > in last frame and none the next frame, treat it as a MouseStop. > > > > > On Tue, Dec 24, 2013 at 5:15 PM, Alex Harui <[email protected]> wrote: > >> Enter_frame gets dispatched all the time. There's no way to immediately >> know if the mouse is "stopped". The user could move the mouse at the very >> moment you check. You pretty much have to wait for some amount of time to >> see if there is another mouseMove or not. The SystemManager dispatches >> an "idle" event when there is no input for 1 second. Is that what you >> want? >> >> http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/mana >> gers/SystemManager.html#event:idle<http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/managers/SystemManager.html#event:idle> >> >> On 12/24/13 7:03 AM, "oscaroxy" <[email protected]> wrote: >> >> >Do exist a event/method in order to understand when mouse stop? >> >I use move mouse event and I would run a method after move mouse event >> and >> >when the mouse's stopped! >> >I tried by enter_frame, but the method run more that one time... >> >thanks >> > >> > >> > >> >-- >> >View this message in context: >> > >> http://apache-flex-users.2333346.n4.nabble.com/Understand-when-mouse-stop- >> >tp4283.html >> >Sent from the Apache Flex Users mailing list archive at Nabble.com. >> >> >
