Home >Web Front-end >HTML Tutorial >flash显示html内容_html/css_WEB-ITnose
适用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.myText.htmlText = myString;
3、也可以读取外部文件作为html内容:参考http://www.wangchao.net.cn/bbsdetail_1736674.html