Adobe Flash播放器支持一组标准HTML标签, 例如<p>和<li>, 你可以把它们放在动态或输入框文本区内来格式化文字.
Flash播放器版本7和后续版本也支持<img>标签. 你可以在文本区嵌入图片(JPEG,GIF,PNG)和SWF文件.
Flash播放器自动把文字环绕在图片周围, 就像浏览器显示HTML页面时把文字环绕在图片周围那样.
Adobe Flash Player supports a subset of standard HTML tags such as <p>
and <li>
, which you can use to style text in any dynamic or input text field. Text fields in Flash Player 7 and later also support the <img>
tag, which lets you embed image files (JPEG, GIF, PNG), SWF files, and movie clips in a text field. Flash Player automatically wraps text around images embedded in text fields in much the same way that a web browser wraps text around embedded images in an HTML page.
HTML tags supported by Adobe Flash CS3 Professional
The following HTML tags are supported by Adobe Flash CS3 Professional. Optional tag attributes appear in brackets.
- Anchor:
<a href="/support/flash/ts/documents/url">
- Bold:
<b>
- Font:
< font [color="#xxxxxx"] [face="Type Face"] [size="Type Size"]>
- Italic:
<I>
- Paragraph:
<p [align="left"|"right"|"center"]>
- Underline:
<u>
- Break:
<br>
- Image:
<img src="/images/flash/dogs.jpg"/>
The <img> tag lets you embed external image files (JPEG, GIF, PNG), SWF files, and movie clips inside text fields and TextArea component instances. - List Item:
<li>
Ordered and unordered lists (<ol> and <ul> tags) are not recognized by Flash Player, so they do not modify how your list is rendered. All list items use bullets. - Span: The
<span>
tag is available only for use with CSS text styles. - TextFormat: The
<textformat>
tag lets you use a subset of paragraph formatting properties of the TextFormat class within HTML text fields, including line leading, indentation, margins, and tab stops. You can combine <textformat> tags with the built-in HTML tags.
Additionally, Flash Player supports HTML entities:
<
< (less than)>
> (greater than)&
& (ampersand)"
" (double quotes)'
' (apostrophe, single quote)