
TextField.bottomScroll Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
834
|
ActionScript Language Reference
The default value is black (0x000000). For more information on RGB triplet notation, see
the Color class.
The
borderColor property has a visible effect only when the border property is true; when
border is false, no border is shown, even if borderColor is set. For example, the following
code tries to set the border color of
theField_txt to green, but the color does not appear
because
border is not yet set:
this.createTextField("theField_txt", 1, 0, 0, 200, 20);
theField_txt.text = "this text has a green border";
theField_txt.borderColor = 0x00FF00;
To make the green border appear, we must add the following line:
theField_txt.border = true;
Setting the value of border does not alter the value of borderColor.
See Also
TextField.background, TextField.backgroundColor, TextField.border, the Color class
TextField.bottomScroll Property
the 1-relative index of the text field’s lowest visible line
Flash 6
read-only
theField.bottomScroll
Description
The integer bottomScrollproperty represents the 1-relative line number of the bottommost
line currently displayed in a text field.
When the text in a text field spans more lines than can be accommodated by the physical
viewable region of the field, extra lines of text are hidden but are still ...