A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Dynamic Text Box Quesion

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    26

    Dynamic Text Box Quesion

    Does anyone know how to add buttons to the top and bottom of the scroll on the dynamic text box that will scroll the text up and down. This is in addition to the current drag button that controls the text.

    Kind of like make the scrolling like it is in the scroll pane component.

    Thanks in advance for your help.

    Jr

  2. #2
    Degenerate and baise art thou. docree's Avatar
    Join Date
    Feb 2001
    Location
    USA
    Posts
    390
    Check out the example files and the tutorials.
    I'm certain that one of the examples has simple AS
    for adding the component scrollbar to a dynamic text field.
    ________________________________
    Also, how does one get rid of the Hscroll on the component scroll field?
    DocRee

  3. #3
    Degenerate and baise art thou. docree's Avatar
    Join Date
    Feb 2001
    Location
    USA
    Posts
    390
    CreateKScrollBar("scroller1",1,Name of Txt field);
    scroller1.setStyle(myStyle);

    myStyle.gradient = true;
    myStyle.shaded=true;
    myStyle.liquid=false;
    myStyle.face = 0xFF4000;
    myStyle.scrollTrack = 0xE0D8D8;
    myStyle.scrollBar = 0xFFC000;
    _________________________________
    Looks like that does it for ya.
    AS Found in the Kc demo file.
    Add to first frame. May need an action to start.
    Set the dynamic field's scroll to no.
    DocRee

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