Selection Class - MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

scroll
Availability
Flash Player 4.
Usage
textFieldVariableName.scroll = x
Description
Property; a deprecated property that controls the display of information in a text field associated
with a variable. The
you set it, Flash Player updates it as the user scrolls through the text field. The
useful for directing users to a specific paragraph in a long passage, or creating scrolling text fields.
This property can be retrieved and modified.
Example
The following code is attached to an Up button that scrolls the text field
on (release) {
myText.scroll = myText.scroll + 1;
}
See also
TextField.maxscroll

Selection class

Availability
Flash Player 5.
Description
The Selection class lets you set and control the text field in which the insertion point is located;
that is, the field that has focus. Selection-span indexes are zero-based (for example, the first
position is 0, the second position is 1, and so on).
There is no constructor function for the Selection class, because there can only be one currently
focused field at a time.
property defines where the text field begins displaying content; after
scroll
,
TextField.scroll
property is
scroll
:
myText
Selection class
607

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents