I think this is a bug but I wouldn't mind the opinions of this list before submitting it.
I've got a slider control that I've been trying to use the FocusOut to get the value when they leave the control. I'm reluctant to use "change" because what I'm looking for I know in VB as onLostFocus() and JS as onBlur(). What's happening is that when users do not directly use the mouse to move the thumb/triangle but instead click on the track to make it move and that's when the event isn't being raised. my thinking of this as a bug comes from the fact that if you can click on the sliders track to move it and have visual representation for doing so, it's as good moving the thumb itself - events and all. Would people consider this a bug? (I'd have 'no-hope' myself but) is it fixable? Anyone come across this before? thanx barry.b <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()"> <mx:Script> <![CDATA[ import mx.controls.Alert; import flash.events.*; private function onRatingChange(event:Event) :void { Alert.show("onRatingChange:" + event.currentTarget.value); event.currentTarget.setFocus(); } private function init():void { Slider1.value = 3; } ]]> </mx:Script> <mx:VBox height="100%" width="100%"> <mx:HSlider value="0" id="Slider1" focusOut="onRatingChange( event )" minimum="0" maximum="10" snapInterval="1"/> <mx:Button label="my button" /> </mx:VBox> </mx:Application>
