Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows 7
Language Found: English
Description
Steps to reproduce:
1.
In a new window register an event handler with the stage to capture mouse up events outside the window.
stage.addEventListener( MouseEvent.MOUSE_UP, mouseUpHandler );
2.
Case 1) Press and release mouse within window.
Case 2) Press and release mouse outside window.
Actual Results:
Case 1) mouseUpHandler gets called once.
Case 2) mouseUpHandler gets called twice.
First stack:
MyWindow/mouseUpHandler
flash.events::EventDispatcher/dispatchEventFunction [no source]
flash.events::EventDispatcher/dispatchEvent [no source]
mx.managers::WindowedSystemManager/stageEventHandler
Second stack:
MyWindow/mouseUpHandler
Expected Results:
Call mouseUpHandler once in all cases.
Workaround (if any):
Balance mouse down events with mouse up events. Ignore other events.