Flash CS3里可用的HTML标签和注意事项

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:

  • &lt; < (less than)
  • &gt; > (greater than)
  • &amp; & (ampersand)
  • &quot; " (double quotes)
  • &apos; ' (apostrophe, single quote)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值