
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
HTML Tag Support in Text Fields
|
993
See the discussion of bold font embedding under TextField.embedFonts and
TextField.htmlText in the Language Reference.
<I> (Italics)
The <I> tag renders text in italics, provided that an italic style exists for the font in
question. For example:
<I>This is italic text.</I>
will be rendered as, This is italic text.
See the discussion of italic font embedding under
TextField.embedFonts and
TextField.htmlText in the Language Reference.
<U> (Underline)
The <U> tag renders the tagged text with an underline beneath it. For example:
<U>This is underlined text.</U>
will be rendered as, This is underlined text.
Because hyperlinks are not underlined automatically in Flash, you should use the
<U>
tag to identify hyperlinks. For example:
<A HREF="http://www.flight404.com"><U>Click here</U>
</A> to visit a neat site.
will be rendered as, “Click here to visit a neat site.”
<LI> (List Item)
The <LI> tag creates a bullet in front of the text it encloses. Unlike its HTML coun-
terpart,
<LI> does not require a <UL> tag. For example:
While you work: <LI>Stretch</LI><LI>Drink water</LI><LI>Rest your eyes</LI>
will be rendered as:
While you work:
• Stretch
• Drink water
• Rest your eyes
The
<LI> tag does not support multilevel bullets or the <OL> (numbered list) tag.
Lines formatted