student-ar-fl-controls-TextArea.ax [swf] flex
Dispatched when the text in the @ax-student-ar-fl-controls-TextArea component changes. @eventType flash.events.Event.CHANGE @langversion 3.0 @playerversion Flash 9.0.28.0
Dispatched when the user enters, deletes, or pastes text into the component. @eventType flash.events.TextEvent.TEXT_INPUT @langversion 3.0 @playerversion Flash 9.0.28.0
Dispatched when the user presses the Enter key while in the component. @eventType fl.events.ComponentEvent.ENTER @langversion 3.0 @playerversion Flash 9.0.28.0 @internal [kenos] Does "in the control" here mean that the control has focus?
Dispatched when the content is scrolled. @eventType fl.events.ScrollEvent.SCROLL @includeExample examples/@ax-student-ar-fl-controls-TextArea.scroll.1.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
The class that provides the background for the @ax-student-ar-fl-controls-TextArea component. @default @file_upSkin @langversion 3.0 @playerversion Flash 9.0.28.0
The class that provides the background for the @ax-student-ar-fl-controls-TextArea component when its <code>enabled</code> property is set to <code>false</code>. @default @file_disabledSkin @langversion 3.0 @playerversion Flash 9.0.28.0
The padding that separates the component border from the text, in pixels. @default 3 @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.controls.LabelButton#style:embedFonts @default false @langversion 3.0 @playerversion Flash 9.0.28.0
The @ax-student-ar-fl-controls-TextArea component is a multiline text field with a border and optional scroll bars. The @ax-student-ar-fl-controls-TextArea component supports the HTML rendering capabilities of Adobe Flash Player. @includeExample examples/@fileExample.as
see: TextInput @langversion 3.0 @playerversion Flash 9.0.28.0
A reference to the internal text field of the @ax-student-ar-fl-controls-TextArea component. @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0 @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.core.UIComponent#getStyleDefinition() @includeExample ../core/examples/UIComponent.getStyleDefinition.1.as -noswf
see: fl.core.UIComponent#getStyle() UIComponent.getStyle()
see: fl.core.UIComponent#setStyle() UIComponent.setStyle()
see: fl.managers.StyleManager StyleManager @langversion 3.0 @playerversion Flash 9.0.28.0
@private (internal) @langversion 3.0 @playerversion Flash 9.0.28.0
Creates a new @ax-student-ar-fl-controls-TextArea component instance. @langversion 3.0 @playerversion Flash 9.0.28.0
Gets a reference to the horizontal scroll bar.
see: #verticalScrollBar @langversion 3.0 @playerversion Flash 9.0.28.0
Gets a reference to the vertical scroll bar. @includeExample examples/@ax-student-ar-fl-controls-TextArea.verticalScrollBar.1.as -noswf
see: #horizontalScrollBar @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.core.UIComponent#enabled @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a string which contains the text that is currently in the TextInput component. This property contains text that is unformatted and does not have HTML tags. To retrieve this text formatted as HTML, use the <code>htmlText</code> property. @default ""
see: #htmlText @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the HTML representation of the string that the text field contains. @default "" @includeExample examples/@ax-student-ar-fl-controls-TextArea.htmlText.1.as -noswf @includeExample examples/@ax-student-ar-fl-controls-TextArea.htmlText.2.as -noswf
see: #text
see: flash.text.TextField#htmlText TextField.htmlText @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether extra white space is removed from a @ax-student-ar-fl-controls-TextArea component that contains HTML text. Examples of extra white space in the component include spaces and line breaks. A value of <code>true</code> indicates that extra white space is removed; a value of <code>false</code> indicates that extra white space is not removed. <p>This property affects only text that is set by using the <code>htmlText</code> property; it does not affect text that is set by using the <code>text</code> property. If you use the <code>text</code> property to set text, the <code>condenseWhite</code> property is ignored.</p> <p>If the <code>condenseWhite</code> property is set to <code>true</code>, you must use standard HTML commands, such as <br> and <p>, to place line breaks in the text field.</p> @default false @includeExample examples/@ax-student-ar-fl-controls-TextArea.condenseWhite.1.as -noswf
see: flash.text.TextField#condenseWhite TextField.condenseWhite @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the scroll policy for the horizontal scroll bar. This can be one of the following values: <ul> <li>ScrollPolicy.ON: The horizontal scroll bar is always on.</li> <li>ScrollPolicy.OFF: The scroll bar is always off.</li> <li>ScrollPolicy.AUTO: The scroll bar turns on when it is needed.</li> </ul> @default ScrollPolicy.AUTO @includeExample examples/@ax-student-ar-fl-controls-TextArea.horizontalScrollPolicy.1.as -noswf
see: #verticalScrollPolicy
see: ScrollPolicy @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the scroll policy for the vertical scroll bar. This can be one of the following values: <ul> <li>ScrollPolicy.ON: The scroll bar is always on.</li> <li>ScrollPolicy.OFF: The scroll bar is always off.</li> <li>ScrollPolicy.AUTO: The scroll bar turns on when it is needed.</li> </ul> @default ScrollPolicy.AUTO @includeExample examples/@ax-student-ar-fl-controls-TextArea.verticalScrollPolicy.1.as -noswf
see: #horizontalScrollPolicy
see: ScrollPolicy @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the change in the position of the scroll bar thumb, in pixels, after the user scrolls the text field horizontally. If this value is 0, the text field was not horizontally scrolled. @default 0
see: #verticalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the change in the position of the scroll bar thumb, in pixels, after the user scrolls the text field vertically. If this value is 1, the text field was not vertically scrolled. @default 1 @includeExample examples/@ax-student-ar-fl-controls-TextArea.verticalScrollPosition.1.as -noswf
see: #horizontalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the width of the text, in pixels. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextArea.textHeight.1.as -noswf
see: #textHeight @langversion 3.0 @playerversion Flash 9.0.28.0 @internal [kenos] Is this actually the width of the text field that contains the text? The length of the line that is used to format the text? Similar comment for the below.
Gets the height of the text, in pixels. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextArea.textHeight.1.as -noswf
see: #textWidth @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the count of characters that the @ax-student-ar-fl-controls-TextArea component contains. @default 0
see: #maxChars @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the string of characters that the text field accepts from a user. <p>Note that characters that are not included in this string are accepted in the text field if they are entered programmatically.</p> <p>The characters in the string are read from left to right. You can specify a character range by using the hyphen (-) character. </p> <p>If the value of this property is <code>null</code>, the text field accepts all characters. If this property is set to an empty string (""), the text field accepts no characters. </p> <p>If the string begins with a caret (^) character, all characters are initially accepted and succeeding characters in the string are excluded from the set of accepted characters. If the string does not begin with a caret (^) character, no characters are initially accepted and succeeding characters in the string are included in the set of accepted characters.</p> @default null
see: flash.text.TextField#restrict TextField.restrict @langversion 3.0 @playerversion Flash 9.0.28.0 @internal [kenos] Peter, I don't understand the last paragraph above -- re the carets -- but, if you understand it and think it is clear, it's probably just that I'm not well enough acquainted with the use of the property.
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the maximum number of characters that a user can enter in the text field. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextArea.maxChars.1.as -noswf
see: #length @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the maximum value of the <code>horizontalScrollPosition</code> property. @default 0
see: #horizontalScrollPosition
see: #maxVerticalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the maximum value of the <code>verticalScrollPosition</code> property. @default 1
see: #verticalScrollPosition
see: #maxHorizontalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether the text wraps at the end of the line. A value of <code>true</code> indicates that the text wraps; a value of <code>false</code> indicates that the text does not wrap. @default true
see: flash.text.TextField#wordWrap TextField.wordWrap @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the index position of the first selected character in a selection of one or more characters. <p>The index position of a selected character is zero-based and calculated from the first character that appears in the text area. If there is no selection, this value is set to the position of the caret.</p> @default 0
see: #selectionEndIndex @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the index position of the last selected character in a selection of one or more characters. <p>The index position of a selected character is zero-based and calculated from the first character that appears in the text area. If there is no selection, this value is set to the position of the caret.</p> @default 0
see: #selectionBeginIndex @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether the @ax-student-ar-fl-controls-TextArea component instance is the text field for a password. A value of <code>true</code> indicates that the current instance was created to contain a password; a value of <code>false</code> indicates that it was not. <p>If the value of this property is <code>true</code>, the characters that the user enters in the text area cannot be seen. Instead, an asterisk is displayed in place of each character that the user enters. Additionally, the Cut and Copy commands and their keyboard shortcuts are disabled to prevent the recovery of a password from an unattended computer.</p> @default false @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether the user can edit the text in the component. A value of <code>true</code> indicates that the user can edit the text that the component contains; a value of <code>false</code> indicates that it cannot. @default true @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the mode of the input method editor (IME). The IME makes it possible for users to use a QWERTY keyboard to enter characters from the Chinese, Japanese, and Korean character sets. <p>Flash sets the IME to the specified mode when the component gets focus, and restores it to the original value after the component loses focus. </p> <p>The flash.system.IMEConversionMode class defines constants for the valid values for this property. Set this property to <code>null</code> to prevent the use of the IME with the component.</p>
see: flash.system.IMEConversionMode @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether Flash Player highlights a selection in the text field when the text field does not have focus. If this value is set to <code>true</code> and the text field does not have focus, Flash Player highlights the selection in gray. If this value is set to <code>false</code> and the text field does not have focus, Flash Player does not highlight the selection. @default false
see: flash.text.TextField#alwaysShowSelection TextField.alwaysShowSelection @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.core.UIComponent#drawFocus() @langversion 3.0 @playerversion Flash 9.0.28.0
Retrieves information about a specified line of text.
parameter: lineIndex The line number for which information is to be retrieved. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Sets the range of a selection made in a text area that has focus. The selection range begins at the index that is specified by the start parameter, and ends at the index that is specified by the end parameter. The selected text is treated as a zero-based string of characters in which the first selected character is located at index 0, the second character at index 1, and so on. <p>This method has no effect if the text field does not have focus.</p>
parameter: setSelection The index location of the first character in the selection.
parameter: endIndex The index position of the last character in the selection. @langversion 3.0 @playerversion Flash 9.0.28.0 @internal Doc team changed the first param name from beginIndex to setSelection to temporarily resolve the conflict between param descriptions and method signature.
Appends the specified string after the last character that the @ax-student-ar-fl-controls-TextArea component contains. This method is more efficient than concatenating two strings by using an addition assignment on a text property--for example, <code>my@ax-student-ar-fl-controls-TextArea.text += moreText</code>. This method is particularly useful when the @ax-student-ar-fl-controls-TextArea component contains a significant amount of content.
parameter: text The string to be appended to the existing text. @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
(C) Æliens 27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.