Date: 2009-08-05 14:16:58 -0700 (Wed, 05 Aug 2009)
DropDropList bug fix
http://bugs.adobe.com/jira/browse/SDK-22535 - Rolling over a programmatically opened Spark DropDownList causes the DropDownList to close itself
In ButtonBase, when the keepDown property was set to true while the mouse was not over the button, a subsequent rollover caused the ButtonDown event to be dispatched. The fix is to change keepDown from a property to a function and introduce a second parameter that stops the Button from dispatching the ButtonDown in this situation.
DropDownController needs to call keepDown in two different ways depending upon whether the component was opened via mouse interaction on the button or via keyboard interaction / programmatically. I didn?\226?\128?\153t want to add a new parameter to the public API, so I refactored the function and change the way it is called internally.
QE notes: Add test case
Doc notes: None
Tests run: DropDownList, Button
Is noteworthy for integration: No