onChanged()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
onChanged() {
   statements;
}

Arguments
statements: A list of any valid scripting commands that are executed if the Event has occurred.

Description
An Event Handler. Code is executed when the text changes.
Note that Event statements assume that "this." is the containing Object.

Sample
Make the Text Field y scale bigger after each character is typed. This assumes an Input Text Field Object named txtInput:

onChanged() {
    txtInput._yscale += 10;
}


See Also
Text Field Object