To use HTML tags in text content, you must first activate the HTML parameter in the layer tab.
Below is a table with tags that are supported by the player.
Tag | Usege |
<a> | Creates a hypertext link. |
<b> | Changes the text to bold. |
<u> | Underlines the enclosed text. |
<br> | Creates a line break in a text field. |
<img> | Allows you to embed external image files (JPEG, GIF, PNG), SWF files, and movie clips into text fields. |
<i> | Displays enclosed text in italics. |
<li> | Places a marker in front of the enclosed text. |
<p> | Creates a new paragraph. |
<font> |
Specifies a font or font list for displaying text. supports the following attributes: color (only hexadecimal values of #FFFFFF are allowed) face (sets the name of the font used) size (sets the font size) |
<span> |
Only available when used with CSS text styles supports the following attribute: class: sets the CSS style class defined by the flash.text.StyleSheet object |
Example: It is necessary to display text in red.
To do this, use the <font> tag with the use of the color attribute (#FF0000)
<font color="#FF0000"> Your red text </font>
The text "Your red text" will be displayed in red.
Comments
0 comments
Please sign in to leave a comment.