MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 700

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

Advertisement

The ^ may be used anywhere in the string to toggle between including characters and excluding
characters. The following code includes only uppercase letters, but excludes the uppercase
letter Q:
my_txt.restrict = "A-Z^Q";
You can use the
only the characters from ASCII 32 (space) to ASCII 126 (tilde).
my_txt.restrict = "\u0020-\u007E";
TextField._rotation
Availability
Flash Player 6.
Usage
my_txt._rotation
Description
Property; the rotation of the text field, in degrees, from its original orientation. Values from
0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation.
Values outside this range are added to or subtracted from 360 to obtain a value within the range.
For example, the statement
See also
Button._rotation,
TextField.scroll
Availability
Flash Player 6.
Usage
my_txt.scroll
Description
Property; defines the vertical position of text in a text field. The
directing users to a specific paragraph in a long passage, or creating scrolling text fields. This
property can be retrieved and modified.
For more information on scrolling text, see
Example
The following code is attached to an Up button that scrolls the
on (release) {
my_txt.scroll = myText.scroll + 1;
}
See also
TextField.hscroll
700
Chapter 12: ActionScript Dictionary
escape sequence to construct
\u
my_txt._rotation = 450
MovieClip._rotation
,
TextField.maxscroll
strings. The following code includes
restrict
is the same as
scroll
"Creating scrolling text" on page
my_txt
my_txt._rotation = 90
property is useful for
153.
text field.
.

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

Subscribe to Our Youtube Channel

Table of Contents