: Text format : TextField Flash / Flex / ActionScript examples
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
Flash / Flex / ActionScript examples
»
TextField
»
Text format
»
77.1 .
Two formats
Hits: 967
77.2 .
The format for an empty TextField object is specified by assigning a TextFormat object to the TextField object's defaultTextFormat variable
Hits: 915
77.3 .
Set text format by searching the substring in textfield
Hits: 947
77.4 .
Default formatting for text fields
Hits: 962
77.5 .
If a specific format (e.g., font, bold, or italic) is not the same for all characters in a specified span, the corresponding variable of the TextFormat object for that span will be null
Hits: 884
77.6 .
Retrieving formatting information for a span of characters
Hits: 889
77.7 .
Apply alignment formatting to the entire span of characters in the second paragraph.
Hits: 957
77.8 .
To set the alignment for a range of paragraphs, we apply the format using beginIndex and endIndex arguments that include the desired paragraphs
Hits: 892
77.9 .
To set the alignment for the second paragraph only, we apply the format to the first character in the second paragraph, which resides at index 23
Hits: 916
77.10 .
To set the alignment for the first paragraph in the text field only, we apply the format to the first character in the first paragraph, which resides at index 0
Hits: 907
77.11 .
setTextFormat( ) does not apply to future text assignments
Hits: 941
77.12 .
Embedded font warning
Hits: 896
77.13 .
Use the TextFormat object's color and underline properties
Hits: 985
77.14 .
Setting a Text Field's Font
Hits: 970
77.15 .
Formatting a Portion of Existing Text
Hits: 971
77.16 .
Formatting User-Input Text
Hits: 949
77.17 .
Change Text format
Hits: 1038
Flash / Flex / ActionScript examples
TextField
»
Text format
Animation
Autosize
Background
Border
Color
Effects
Event
Filter
Focus event
Focus
Font
HtmlText
Input Field
Length
Margin
MouseEvent
MouseWheel
Password
Rotation
Scroll
Selection
Size
Skew
StyleSheet
Tab
Text event
Text format
Text
Type
Wordwrap
Animation
Array
Class
Data Type
Development
Function
Graphics
Language
Network
Regular Expressions
Statement
String
TextField
XML