Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache FlexJS 0.8.0
-
None
Description
In the following app, trace statements should show a 0.1 increment, yet it's 1.
<?xml version="1.0" encoding="utf-8"?> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:ns="library://ns.apache.org/flexjs/mdl" > <fx:Script> <![CDATA[ import org.apache.flex.events.Event; protected function slider1_inputHandler(event:org.apache.flex.events.Event):void { trace(mySlider.value); } ]]> </fx:Script> <js:beads> <js:BrowserResizeHandler/> </js:beads> <js:valuesImpl> <js:SimpleCSSValuesImpl/> </js:valuesImpl> <js:initialView> <js:View width="100%" height="100%" id="myView"> <ns:Slider id="mySlider" minimum="0" maximum="5" stepSize="0.1" input="slider1_inputHandler(event)" width="100"/> </js:View> </js:initialView> </js:Application>