;

PDA

Click to See Complete Forum and Search --> : [RESOLVED] Creating Slider Component in AS


blanius
06-12-2008, 12:03 PM
I know this is probably a Wilburt question but what's the syntax for creating a slider in actionscript... I'm creating a textfield in code and need to add a scroll bar for it.

blanius
06-12-2008, 12:07 PM
Sweet Found it myself.. In the KC8Demo folder KC8.fun file has examples

attachMovie('KC8_Slider','slider',6,{_x:420,_y:200 ,length:125,horizontal:true,c:[0x9e8f6d,0xe6d8b8,0xe6d8b8,0x9e8f6d]});
slider.setSlider(0,50,15);
slider.onMove = function(v){ tt = v / 10; }