: 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: 975
77.2 .
The format for an empty TextField object is specified by assigning a TextFormat object to the TextField object's defaultTextFormat variable
Hits: 922
77.3 .
Set text format by searching the substring in textfield
Hits: 955
77.4 .
Default formatting for text fields
Hits: 971
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: 892
77.6 .
Retrieving formatting information for a span of characters
Hits: 898
77.7 .
Apply alignment formatting to the entire span of characters in the second paragraph.
Hits: 965
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: 899
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: 925
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: 915
77.11 .
setTextFormat( ) does not apply to future text assignments
Hits: 948
77.12 .
Embedded font warning
Hits: 902
77.13 .
Use the TextFormat object's color and underline properties
Hits: 993
77.14 .
Setting a Text Field's Font
Hits: 977
77.15 .
Formatting a Portion of Existing Text
Hits: 979
77.16 .
Formatting User-Input Text
Hits: 959
77.17 .
Change Text format
Hits: 1044
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