FWSr	  p     C ?    scrollableText   this is the most basic possible application of scrolling text. it uses three things: 1) a textfield variable, 2) the .scroll property, and 3) the .maxscroll property.    !   ! the textfield variable is what you're reading right now. it's named 'scrollableText', and contains the body of text. the .scroll property of the textfield variable ('scrollableText.scroll') indicates which line of the body of text is currently shown as the top line in the green viewable region. and the .maxscroll property ('scrollableText.maxscroll') returns the number of the lowest possible line that can be displayed as the top line in the viewable area. !   !   ! to make the buttons change the portion of text shown in the viewable region, we add a little actionscript. to go down, we increment 'scrollableText.scroll' by one. but we only go do so if the .scroll value is less than .maxscroll (in otherwords, if there's enough text to continue scrolling). to go up, we subtract one from 'scrollableText.scroll', unless .scroll is already set to 1, in which case, we're at the top of the body of text and can't scroll up any more. as an additional touch, we add arrow keypress event handlers, making the scroller functional from the keyboard (the user must first click on the movie canvas before using keys). !   !   ! though this very simple approach is a bit cumbersome (it requires one click for each line scrolled), it is also quite flexible. you can download the source and change the contents of the scrollableText variable, and redesign the buttons and movie without affecting the behaviour of the scrolling. the value of the scrollableText variable is set on the first frame of the actions layer in the .fla file !  '    pp  f P f 5b?e=|jXX     $    \j<  f P  f 5sH|}ːDр $    \j<   f P f 5sH|}ːDр                       currentScroll   scrollableText.scroll   1   currentScroll  5   scrollableText.scroll   currentScroll   1                           currentScroll   scrollableText.scroll   currentScroll   scrollableText.maxscroll  5   scrollableText.scroll   currentScroll   1 
      q ?     _sans   	,    wHm    P P   ( scrollableText   FKo@   