A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Creating Slider Component in AS

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    resolved [RESOLVED] Creating Slider Component in AS

    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.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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; }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center