MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 750

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Example
This example sets a flag in the application that indicates if contents in the TextInput field have
changed:
form.change = function(eventObj){
// note: eventObj.target refers to the component that generated the change
// event, i.e., the TextInput component.
myFormChanged.visible = true;
changed;
}
myInput.addEventListener("change", form);
See also
EventDispatcher.addEventListener()
TextInput.editable
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.editable
Description
Property; a Boolean value that indicates whether the component is editable (
(
). The default value is
false
TextInput.enter
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
on(enter){
...
}
Usage 2:
listenerObject = new Object();
listenerObject.enter = function(eventObject){
...
750
Chapter 6: Components Dictionary
// set a change indicator if the contents
.
true
) or not
true

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents