student-ar-fl-controls-TextInput.ax [swf] flex
Dispatched when user input changes text in the @ax-student-ar-fl-controls-TextInput component. <p><strong>Note:</strong> This event does not occur if ActionScript is used to change the text.</p> @eventType flash.events.Event.CHANGE @langversion 3.0 @playerversion Flash 9.0.28.0
Dispatched when the user presses the Enter key. @eventType fl.events.ComponentEvent.ENTER @langversion 3.0 @playerversion Flash 9.0.28.0
Dispatched when the user inputs text. @eventType flash.events.TextEvent.TEXT_INPUT @langversion 3.0 @playerversion Flash 9.0.28.0
The name of the class to use as a background for the @ax-student-ar-fl-controls-TextInput component. @default @file_upSkin @langversion 3.0 @playerversion Flash 9.0.28.0
The padding that separates the component border from the text, in pixels. @default 0 @langversion 3.0 @playerversion Flash 9.0.28.0
The name of the class to use as a background for the @ax-student-ar-fl-controls-TextInput 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
@copy fl.controls.LabelButton#style:embedFonts @default false @langversion 3.0 @playerversion Flash 9.0.28.0
The @ax-student-ar-fl-controls-TextInput component is a single-line text component that contains a native ActionScript TextField object. <p>A @ax-student-ar-fl-controls-TextInput component can be enabled or disabled in an application. When the @ax-student-ar-fl-controls-TextInput component is disabled, it cannot receive input from mouse or keyboard. An enabled @ax-student-ar-fl-controls-TextInput component implements focus, selection, and navigation like an ActionScript TextField object.</p> <p>You can use styles to customize the @ax-student-ar-fl-controls-TextInput component by changing its appearance--for example, when it is disabled. Some other customizations that you can apply to this component include formatting it with HTML or setting it to be a password field whose text must be hidden. </p> @includeExample examples/@fileExample.as
see: TextArea @langversion 3.0 @playerversion Flash 9.0.28.0
A reference to the internal text field of the @ax-student-ar-fl-controls-TextInput component. @includeExample examples/@ax-student-ar-fl-controls-TextInput.textField.1.as -noswf @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)
@private (protected)
@private @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()
see: fl.core.UIComponent#setStyle()
see: fl.managers.StyleManager @langversion 3.0 @playerversion Flash 9.0.28.0
@private The method to be used to create the Accessibility class. This method is called from UIComponent. @langversion 3.0 @playerversion Flash 9.0.28.0
Creates a new @ax-student-ar-fl-controls-TextInput component instance. @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a string which contains the text that is currently in the @ax-student-ar-fl-controls-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
@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
@copy fl.controls.TextArea#imeMode @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected)
Gets or sets a Boolean value that indicates how a selection is displayed when the text field does not have focus. <p>When this value is set to <code>true</code> and the text field does not have focus, Flash Player highlights the selection in the text field in gray. When this value is set to <code>false</code> and the text field does not have focus, Flash Player does not highlight the selection in the text field.</p> @default false @includeExample examples/@ax-student-ar-fl-controls-TextInput.setSelection.2.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter)
@copy fl.core.UIComponent#drawFocus() @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether the text field can be edited by the user. A value of <code>true</code> indicates that the user can edit the text field; a value of <code>false</code> indicates that the user cannot edit the text field. @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 position of the thumb of the horizontal scroll bar. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextInput.horizontalScrollPosition.1.as -noswf
see: #maxHorizontalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets a value that describes the furthest position to which the text field can be scrolled to the right. @default 0
see: #horizontalScrollPosition @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the number of characters in a @ax-student-ar-fl-controls-TextInput component. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextInput.maxChars.1.as -noswf
see: #maxChars @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-TextInput.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 or sets a Boolean value that indicates whether the current @ax-student-ar-fl-controls-TextInput component instance was created to contain a password or to contain text. A value of <code>true</code> indicates that the component instance is a password text field; a value of <code>false</code> indicates that the component instance is a normal text field. <p>When this property is set to <code>true</code>, for each character that the user enters into the text field, the @ax-student-ar-fl-controls-TextInput component instance displays an asterisk. Additionally, the Cut and Copy commands and their keyboard shortcuts are disabled. These measures prevent the recovery of a password from an unattended computer.</p> @default false @includeExample examples/@ax-student-ar-fl-controls-TextInput.displayAsPassword.1.as -noswf
see: flash.text.TextField#displayAsPassword TextField.displayAsPassword @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the string of characters that the text field accepts from a user. Note that characters that are not included in this string are accepted in the text field if they are entered programmatically. <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 null, 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
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets the index value 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 @includeExample examples/@ax-student-ar-fl-controls-TextInput.selectionBeginIndex.1.as -noswf
see: #selectionEndIndex
see: #setSelection() @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
see: #setSelection() @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-TextInput 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
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
Contains the HTML representation of the string that the text field contains. @default "" @includeExample examples/@ax-student-ar-fl-controls-TextInput.htmlText.1.as -noswf
see: #text
see: flash.text.TextField#htmlText @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter)
The height of the text, in pixels. @default 0
see: #textWidth @langversion 3.0 @playerversion Flash 9.0.28.0 @internal [kenos] What is the "height" of the text? Is this the vertical size of the text field that contains the text? Same for the textWidth property below.
The width of the text, in pixels. @default 0 @includeExample examples/@ax-student-ar-fl-controls-TextInput.textWidth.1.as -noswf
see: #textHeight @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. If the parameter values that specify the selection range are the same, this method sets the text insertion point in the same way that the <code>caretIndex</code> property does. <p>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> <p>This method has no effect if the text field does not have focus.</p>
parameter: beginIndex The index location of the first character in the selection.
parameter: endIndex The index location of the last character in the selection. @includeExample examples/@ax-student-ar-fl-controls-TextInput.setSelection.1.as -noswf @includeExample examples/@ax-student-ar-fl-controls-TextInput.setSelection.2.as -noswf
see: #selectionBeginIndex
see: #selectionEndIndex @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. @includeExample examples/@ax-student-ar-fl-controls-TextInput.getLineMetrics.1.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
Appends the specified string after the last character that the TextArea contains. This method is more efficient than concatenating two strings by using an addition assignment on a text property; for example, <code>myTextArea.text += moreText</code>. This method is particularly useful when the 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)
@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.