Home > Web Front-end > HTML Tutorial > flash显示html内容_html/css_WEB-ITnose

flash显示html内容_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:59:24
Original
1013 people have browsed it

适用as2.0

1、先建动态文本,并命名myText

2、在帧上加上代码,

myText.html = true; 

myText.multiline = true;

var myString = '

This is a bold text

And this text is in Italic

This is a link to the bbc website.
Here is a little list of colors :
  • Red
  • Green
  • Blue
  • Here is a little image that links to the bbc siteflash显示html内容_html/css_WEB-ITnose';

    myText.htmlText = myString;

    3、也可以读取外部文件作为html内容:参考http://www.wangchao.net.cn/bbsdetail_1736674.html

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template