Bellow you can find a list tags and their attributes that are supported by flash player (and also by flex framework). This list applies to TextArea, TextFields and other controls that are html enabled.
Anchor tag (<a>)
Creates a hypertext link.
- href
- target
Bold tag (<b>)
Renders text as bold.
Break tag (<br>)
Creates a line break in the text field.
Font tag (<font>)
Specifies a font or list of fonts to display the text.
- color
- face
- size
Image tag (<img>)
Lets you embed external JPEG files, SWF files, and movie clips.
- src
- id
- width
- height
- align
- hspace
- vspace
- alt
Italic tag (<i>)
Displays the tagged text in italics.
List item tag (<li>)
Places a bullet in front of the text that it encloses.
Paragraph tag (<p>)
Creates a new paragraph.
- align
- class
Span tag (<span>)
Available only for use with CSS text styles.
- class
Text format tag (<textformat>)
Lets you use a subset of paragraph formatting properties of the TextFormat class within HTML text fields.
- blockindent
- indent
- leading
- leftmargin
- rightmargin
- tabstops
Underline tag (<u>)
Underlines the tagged text.
Some aspects need to be known… <ol> and <ul> are not supported by flash player and any of the two tags are rendered as bullets. As you already noticed the tags do no comply with new standards, they do not necessarily close as is should and tags without closing do not have /> at the end.
More info about this is on Adobe Livedocs following this link.
Popularity: 99%
Tags: Flash, Flash Player, flex, HTML, html enabled, htmltext, Rich Text Editor, RichTextEditor, tags
This post was written by Andrei Ionescu
Views: 1801



















[…] the old TextField has big problems when rendering text, htmlText and images) - we hope that the allowed HTML tags will be […]
I have to display html tables in Flex3 TextArea, it seems the <table> html tag is not supported? What’s my alternative?