HTML tags in textfieldif You Want To Format Text in field using old HTML Tag here is simple list of possible tags:
- <A> hyperlink. has two parameters:
- Target-target window
- Href-URL (or event !)
- <B>-text betwen those tags will be bold
- <Br>-breaks line
- <Font>-describes Font:
- Color-color of the text. Must be in hex (with # At the begining)
- Face-font name
- Size-font size
- allows to embed image (or SWF) Like in HTML site. Here is a list of supported properties:
- Src-source of Media
- Width-width of rectangle where media is placed (always in px)
- Height-height of rectangle where media is placed (always in px)
- Align-horizontal alignment. Left or Right. specifies on which side text will flow around the image
- Hspace-horizontal margin around media. By default it is 8px
- Vspace-vertical margin around media. By default it is 8px
- ID-identifier for embedded media. Used to Controll it
- Checkpolicyfile-connected to the security policy. Used with Flash SWF file embedded
- <I>-text between those tags will be italic.
- <Li>, <ul>, <ol>-lists. Ordered and dotted
- <P>-paragraph. Supports only two attributes:
- Align-specifies if text block is aligned to left/right/center or justify
- Class-connects with CSS class
- <Span>-inline part of text that allows only one attribute:
- <U>-text between those tags will be underlined
Complete description in Adobe's API: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html#htmlText