Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 4.0.0.12722.
Steps to reproduce:
1. Compile and run attached MXML file.
2. Click the "http" button in the application control bar to load a progressive FLV
3. Scroll down to see the VideoPlayer scrub bar.
4. Click somewhere in the scrub bar (or drag the playhead).
Actual Results:
Whenever you scroll the mouse wheel, the playhead jumps around. THis can be a bit unexpected if you click the scrub bar and then move your mouse over the Scroller VScrollBar and try and use the mouse wheel there or if you happen to be hovered over a Spark TextArea and find that the video jumps around AND the TextArea is scrolling.
Expected Results:
We should possibly add a Boolean flag to Slider that toggles mouse wheel support on the Slider (this way it would be inherited by HSlider and VSlider). Then in the system_mouseWheelHandler() method, we can do a quick "if" to verify that mouse wheel should be supported/caught.
Workaround (if any):
Extend HSlider and override the system_mouseWheelHandler() function, and then use the custom HSlider in the VideoPlayer skin.
override protected function system_mouseWheelHandler(event:MouseEvent):void
{
}
THis also came up recently in the forums http://forums.adobe.com/message/2447702