当前位置:Gxlcms > html代码 > flash显示html内容_html/css_WEB-ITnose

flash显示html内容_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:22人阅读

适用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 site';

    myText.htmlText = myString;

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

    人气教程排行