home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 15 / cdrt15.iso / mac / REV.DIR / 00044_Field_44.txt < prev    next >
Text File  |  1995-04-12  |  851b  |  9 lines

  1. This is the form of the scrolling windows macroGroup (scrollingWindows) which scrolls the text line by line in a scrolling text box rather than pixel by pixel.  The scolling text is held as a long bitmapped cast member.  Three linked macros are use to handle scroll control. The scrolling text box must be layered as shown in the movies shown in the location list.
  2.  
  3. The macro group must be initialised before use by setting the stepCounter to 0 (the number of lines scrolled off the top of the scroll box) and by storing the initial position of the scrolling sprite as a marker value. See below for a partial script. This would br attached to the marker(0) frame for the scrolling text box:-
  4.  
  5. global soundFile,stepCounter,txtLocV
  6. --ΓÇóΓÇó initialise scrolling text start position
  7. put the locV of sprite 13 into txtLocV
  8. put 0 into stepCounter
  9.