Mega Code Archive
Categories
/
Flex
/
Components
Invoke adjustThumb() method when the user clicks the button
public function adjustThumb(s:HSlider):void { var randomNumber:int = (Math.floor(Math.random() * 10)); s.setThumbValueAt(0, randomNumber); }