Hi Friends

I Have Canvas  Which Contain The V slider, contain Snap interval Value
0.01;Snap Inter value

increment Like In The 0.01,0.02,0.03,0.04........;

But It Increment The Values Likes in the order  0.03,0.06 Every
time  ;

How To Solve This Problem;

Please Check The  Sample Code Here;


Am Getting The Problem The
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="horizontal">

<mx:Script>
       <![CDATA[

               public function chan(event)
               {

               }
       ]]>
</mx:Script>
       <mx:Canvas width="200" height="400" backgroundColor="#A15353" x="0"
y="0">
               <mx:VSlider x="0" y="0"  id="vsd" liveDragging="true"
change="chan(event)" width="200"  height="400" minimum="0.2"
maximum="13"  snapInterval="0.01"/>
               <mx:TextInput  text="{vsd.values}" >
               </mx:TextInput>
       </mx:Canvas>

       <mx:VSlider x="0" y="0"  id="vsd11" liveDragging="true"
change="chan(event)" width="200"  height="400" minimum="0.25"
maximum="13"  snapInterval="0.01"/>
</mx:Application>

Reply via email to