Using Director > Text > Controlling scrolling text with Lingo |
![]() ![]() ![]() |
Controlling scrolling text with Lingo
Lingo can scroll text and determine the location of specific text within the text box for text and field cast members. For example, this statement sets the scrollTop
value for the text cast member called Discussion to 0, which makes its first line appear at the top of its scrolling field:
(member "Discussion").scrollTop = 0
This procedure can be useful for making a scrolling field automatically scroll back to the top.
![]() |
To scroll up or down by a specific number of pages in a text or field cast member, use the |
![]() |
To scroll up or down by a specific number of lines in a text or field cast member, use the |
![]() |
To determine the number of lines that appear in a field cast member on the Stage, set the |
![]() |
To determine a line's distance from the top edge of a text or field cast member, use the |
![]() |
To determine the number of the line that appears at a specific vertical position in a text or field cast member, use the |
![]() |
To determine the point in a text or field cast member that is closest to a specific character, use the |
![]() |
To determine the character that is closest to a specific point in a text or field cast member, use the |
![]() |
To check or set the distance from the top of the line that is currently visible to the top of the box for a scrolling field or text cast member, test or set the |
![]() ![]() ![]() |