Đang chuẩn bị liên kết để tải về tài liệu:
Essential ActionScript 3.0 PHẦN 9

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Mô tả Chỉ định màu font chữ, như một số hệ thập lục phân số nguyên 24-bit trước bằng dấu thăng (#). Ví dụ, màu đỏ là Chỉ định cho dù các cặp nhân vật kern (1 có nghĩa là kern, 0 có nghĩa là không kern) Chỉ định khoảng cách giữa các chữ cái (tức là, theo dõi), trong pixels | Table 27-5. ActionScript s supported HTML tags continued Tag Description Attributes Description Equivalent TextFormat instance variable COLOR Specifies the font color as a 24-bit integer hexadecimal number preceded by the pound sign . For example red is FF0000 color KERNING Specifies whether to kern character pairs 1 means kern 0 means don t kern kerning LETTERSPACING Specifies the distance between letters i.e. the tracking in pixels lettterSpacing I Specifiesitalic character display None italic IMAGE Specifies a display asset to embed in the text field SRC The location of the asset image .swf file or movie clip symbol to embed in the text field None WIDTH The optional width of the embedded asset None HEIGHT The optional height of the embedded asset None ALIGN The optional horizontal alignment of the embedded asset None HSPACE The optional horizontal space surrounding the embedded asset None VSPACE The optional vertical space surrounding the embedded asset None ID Specifies an optional identifier by which the embedded asset can be referenced via the TextField class s instance method getImageReference None Formatting Text Fields 721 Table 27-5. ActionScript s supported HTML tags continued Tag Description Attributes Description Equivalent TextFormat instance variable CHECKPOLICYFILE Specifies whether a policy file should be checked before the asset is accessed as data see Chapter 19 None LI Specifies a paragraph displayed with a preceding bullet note that the bullet cannot be modified and that no UL or OL is required None bullet P Specifies a paragraph ALIGN Specifies horizontal paragraph alignment left right center or justify align CLASS Specifies the CSS class for use with style sheets None SPAN Marks an arbitrary span of text so it can be formatted with a style sheet CLASS Specifies the CSS class for use with style sheets None TEXTFORMAT Specifies formatting information for a span of text LEFTMARGIN Specifies the horizontal distance in pixels between the left .