dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Cmon Who Knows Scroll and Maxscroll

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    9

    Cmon Who Knows Scroll and Maxscroll

    I have a text field of 15 lines. I've applied a mask to reveal the first 10 lines and added up and down buttons.
    I've tried a couple different methods using the scroll and maxscroll actions, but can't get it to work.

    Do I have to use a blank text field and load 'my text' as a variable?

    Please Help getting the text box to scroll? It seems like this should be easy. I don't know why I can't get it going.
    F---ing, what does it take to scroll a text box?

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    1,180
    Hi...
    1) Frame 1: Set Variable: text="Whatever you want"
    2) Name your textfield "text"(without quotes) and select 'Input Text.
    3) Up button: Set Variable:
    on (release) {
    text.scroll = text.scroll-1;
    }
    4) Down button:
    on (release) {
    text.scroll = text.scroll+1;
    }

    hope this helps.

    PS: If your having problems with this then check to see if your targeting using 'relative' or 'absolute', then adjust accordingly.
    I mention this as I sometimes forget myself.

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    9
    Thanks,,
    I'll check the relative or absolute target.
    Take Care

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