Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| scrollHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| condenseWhite: Boolean (write)
|
| Specified whether or not extra white space (spaces and returns) will be stripped out of the text. Only valid if html is set to true.
|
|
public
| condenseWhite: Boolean (read)
|
| Gets the extra white space mode of the component.
|
|
public
| editable: Boolean (write)
|
| Specified whether or not the user will be able to select and edit the text in the text area.
|
|
public
| editable: Boolean (read)
|
| Gets the editable mode of the component.
|
|
public
| hscroll: Number (write)
|
| Sets the current horizontal scroll value for the text field in the component, as described in the Flash help.
|
|
public
| hscroll: Number (read)
|
| Gets the current horizontal scroll value for the text field in the component, as described in the Flash help.
|
|
public
| maxChars: Number (write)
|
| Sets the maximum number of allowable characters in the the text area. If set to 0, there will be no limitation.
|
|
public
| maxChars: Number (read)
|
| Gets the maximum number of allowable characters in the the text area.
|
|
public
| maxhscroll: Number (read-only)
|
| Gets the current maxhscroll value for the text field in the component, as described in the Flash help.
|
|
public
| maxscroll: Number (read-only)
|
| Gets the current maxscroll value for the text field in the component, as described in the Flash help.
|
|
public
| password: Boolean (write)
|
| Sets the password mode of the component. If true, text entered into the text area will not be legible, allowing for secure password entry.
|
|
public
| password: Boolean (read)
|
| Gets the password mode of the component.
|
|
public
| restrict: String (write)
|
| Restricts the characters that can be entered in the text area. See the Flash help for TextField.restrict for a full description on how to use this property. In the text area component, setting restrict to "" will allow any characters to be entered.
|
|
public
| restrict: String (read)
|
| Gets the character restriction of the component.
|
|
public
| scroll: Number (write)
|
| Sets the current scroll value for the text field in the component, as described in the Flash help.
|
|
public
| scroll: Number (read)
|
| Gets the current scroll value for the text field in the component, as described in the Flash help.
|
|
public
| scrollBarWidth: Number (write)
|
| Sets the width of the scrollbar used in the text area (if needed)
|
|
public
| scrollBarWidth: Number (read)
|
| Gets the width of the scrollbar used in the text area (if needed)
|
|
public
| selectable: Boolean (write)
|
| Specified whether or not the user will be able to select the text in the text area.
|
|
public
| selectable: Boolean (read)
|
| Gets the selectable mode of the component.
|
|
public
| text: String (write)
|
| Sets the text in the text area. This can include html tags which will be rendered if html is set to true.
|
|
public
| text: String (read)
|
| Gets the text displayed in the text area.
|
|
public
| textField: TextField (read-only)
|
| Returns a reference to the text field within the text area. You can use this for lower level control of the text, such as applying style sheets, or to access properties of the text field not exposed to the component.
|
|
public
| textHeight: Number (read-only)
|
| The height of the text in the the text area. This is simply the textHeight taken from the internal text field in the component.
|
|
public
| wordWrap: Boolean (write)
|
| Sets the wordWrap mode of the text area.
|
|
public
| wordWrap: Boolean (read)
|
| Gets the wordWrap mode of the text area.
|
|
|
|
Constructor |
public
| TextArea (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): TextArea |
| Static method used to create an instance of a TextArea on stage at run time.
|
|
|
|