Textarea.scroll - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

You must first add an instance of the TextArea component to the Stage and name it my_ta;
then add the following code to Frame 1. Use only one setting for the
a time.
/**
Requires:
- TextArea instance on Stage (instance name: my_ta)
*/
var my_ta:mx.controls.TextArea;
my_ta.wordWrap = true;
// Limit control to uppercase letters, numbers, and spaces.
my_ta.restrict = "A-Z 0-9";
// Allow all characters, except lowercase letters
// characters to uppercase
my_ta.restrict = "^a-z";

TextArea.scroll

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.scroll = function(eventObject:Object) {
// ...
};
textAreaInstance.addEventListener("scroll", listenerObject);
Usage 2:
on (scroll) {
// ...
}
1200 TextArea component
property at
restrict

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents