主题:  在flash5 中语法错误为红色,那出现黄色又是什么错误呢?

ll126

职务:普通成员
等级:1
金币:0.0
发贴:6
注册:2001/9/19 10:00:31
#12001/9/20 14:57:07
在flash5 中语法错误为红色,那出现黄色又是什么错误呢?



janlay

职务:管理员
等级:7
金币:28.0
发贴:7244
注册:2003/11/27 18:07:11
#22001/9/20 15:24:54
请看看flash help>actionscript reference这一节:
Understanding ActionScript > Using the Actions panel > About error highlighting

In Normal Mode all ActionScript export incompatibilities are highlighted with a solid yellow background in the Script window. For example, if the Flash Player export version is set to Flash 4, ActionScript that is supported only by the Flash 5 Player is highlighted in yellow. The export version is determined in the Publish Settings dialog box.

翻过来就是:
在actionscript窗口中,当处于正常模式下时,所有在输出时存在兼容性的语句将被黄色背景高亮显示。例如:如果播放器输出为flash4格式,那么,仅被flash5支持的语句将用黄色高亮显示,而输出版本是由publish settings对话框决定的。