ActionScript 代码可用来向文档中的媒体元素添加交互式内容.例如,可以添加代码以便用户在单击某按钮时显示一幅新图像,还可以使用 ActionScript 向应用程序添加逻辑.逻辑使应用程序能够根据用户的操作和其它情况采取不同的工作方式.Flash 包括两个版本的 ActionScript,可满足创作者的不同具体需要.有关编写 ActionScript 的详细信息,请参阅Flash"帮助"面板中的"学习 Flash 中的 ActionScript 2.0",本文主要介绍flash脚本作用,分别用AS基础,AS语法与AS对象来介绍flash脚本功能.
关键词:ActionScript,AS基础,AS语法,AS对象
ActionScript codes can be used to add interactive content into the media element of document. For example, you can add code for user to click a button to display a new image, or you can use ActionScript to add logic to your application. Logic enables application different ways of working according to user's operation and other circumstances. Flash includes two versions of ActionScript, to meet the specific needs of different artists. For more information about writing ActionScript, see Flash "Learning Flash in ActionScript 2.0" in "help " panel. This paper describes the role of flash script, based respectively on AS elements, AS syntax, and AS objects to introduce function of flash scripting.
Keywords: ActionScript, AS elements, AS syntax, AS object