输入banner图图片脚本导航/分类

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.
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