全文预览

Flash动画外文翻译

上传者:火锅鸡 |  格式:doc  |  页数:11 |  大小:50KB

文档介绍
ternal file, you make your code more modular and anized. As your project grows, this convenience es much more useful than you might imagine. An external file aids debugging and also source control management if you’re working on a project with other developers.РTo use the ActionScript code contained in an external AS file, you create a script within the FLA file and then use the #include statement to access the code you’ve stored externally, as shown in the following example:Р#include "../core/Functions.as"РYou can also use ActionScript 2.0 to create custom classes. You must store custom classes in external AS files and use import statements in a script to get the classes exported into the SWF file, instead of using #include statements. You can also ponents to share code and functionality.

收藏

分享

举报
下载此文档