A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: scrollable text -more than one line each time I click on the Up/down button- ?

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    11

    scrollable text -more than one line each time I click on the Up/down button- ?

    I have buttons to scroll the (dynamic) text. Now, I have to click each time for one line up, or downn. So, if I want to scroll up/down I have to click, click, click.
    Instead of that, I want that -if you click on the button, the text scrolls automatically up/down as long as you hold the left-mouse-key down(like the arrows in a normal scrollbar do).
    Does anyone know a resolution? Now I use the button action-code:

    On (release) {
    tekst.scroll-=1
    }

    bye!
    Alices

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Hi,

    Try the fla file from http://www.angelfire.com/electronic2...rt/scroll.html - it uses 2 buttons to set the direction of scrolling. on press, scroll and on release stop scrolling using a variable, there is also a movie clip with an enterFrame event that continually checks the variables value and keeps the scrolling going (while one of the buttons is pressed)

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Posts
    11

    a few days later..

    hi,

    holidays, so few days later:
    super!!

    Thanks!

    think/hope that's gonna work (although I use dynamical textfield instead of a Var).


    bye!
    Alices

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