win10可以用mapinfo吗:求flash英文文献

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/06 00:25:25
求flash英文文献加翻译,不要金山翻译的!!!
最好是介绍flash里某个功能的,比如介绍Action Script脚本语言及特点的。
翻译的好,我一定在追加50分

aaa

金山快译、金山词霸都可以帮你的~~

FLASH闪光.A Flash of lightning电光的一闪.A Flash of hope一线希望.A Flash in the pan昙花一现;虎头蛇尾;一刹那.In A Flash刹那间.Flash Back闪回.Flash-light闪光灯.

你可以先用中文版的,把里边的位置都记住。然后再用英文的

Writing Simple Actions
编写简单的动作
You need to add some simple ActionScript to your banner in order for the invisible button to open a website or send information about how many clicks the banner has received.

There are several different places you can add ActionScript in a Flash document. You can select an instance, and add ActionScript that attaches directly to that instance. To access the code, you would need to find and select that instance again. You can also add ActionScript to a frame (or multiple frames) on the Timeline. It's a good idea to add all of your code to a single frame on the Timeline because it's much easier to find, update, and organize when you're working on a file. Do not attach your ActionScript to instances.
为了使你的banner能够像看不见的按钮一样实现打开网站或发送有关点击次数的信息,你需要加入一些简单的动作脚本在里面.

在flash文档中有许多不同的地方可以加入动作脚本.你可以选择一个实例,然后加入动作脚本以便直接应用到那个实例中.为了访问代码,你需要再一次找到并选中那个实例.你也可以把动作脚本加入到时间轴上的帧(或多帧)中去.把所有代码都加入到时间轴上的某一个帧中去可算是一个方便我们寻找,更改和组织文件的好办法.不要将你的动作脚本定义在实例中.

Note: You can also keep your ActionScript in external class files that import into the FLA file you're working on. This is sometimes the best way to organize your ActionScript, particularly when you work on larger projects. This topic goes beyond the scope of this tutorial, however.
注意:你也可以将你的动作脚本放在外部分类文件中导入到你正使用的flash文档

。这有时是最好的组织动作脚本的方法,这点当你操作一个较大项目时比较明显

。这个话题有点超出本指南的范围,到此为止。

Notice how your Join Us motion tween continually loops when you test it. By default, the playhead on the Timeline loops if you have content on more than one frame. Therefore, if you have content on several frames in a movie clip or on the main Timeline, it will play and loop
forever. You can stop the playhead from looping by adding a single line of ActionScript. If you add this ActionScript to a frame, the playhead stops when it reaches that frame:

stop();

You don't need to add this ActionScript to your banner. However, you will need to add this ActionScript to other FLA files you create. The stop action is an example of ActionScript that you should be aware of when you use Flash so that you can stop looping SWF files when necessary.
注意当你测试时你的运动是在两点之间不断循环的。如果你包含不止一帧的动画,默认在时间轴上是循环播放的。因此,如果你在影片剪辑或主时间轴上包含许多帧,他们将一直循环播放下去。你可以通过在循环中加入一个单独的动作脚本行来停止播放点。如果你加入这个动作脚本到帧中,播放点会在该帧停止:

stop();

你不需要把这个动作脚本加入到你的banner中去。然而,你将会需要加入这个动作脚本到其他你创建的flash文档中。stop动作是一个动作脚本的例子,你应当知道当你使用flash时你可以在需要的时候停止swf文件的循环。

Before you add the code, give the button a unique instance name. The instance name enables you to target the button with ActionScript code. If you don't name the button, your code doesn't have any way of targeting the button from the Timeline. The first step is to assign the invisible button an instance name. Then you can add code that targets that button using its name.
在加入代码之前,给你的按钮起一个唯一的实例名称。这个实例名称能够帮你用动作脚本代码指定目标到这个按钮上。如果你不这么做,你的代码无法通过任何途径从时间轴上找到这个按钮。第一步是为一个隐藏的按钮指定实例名称。然后你可以加入代码以便通过实例名称找到这个按钮。

Select the invisible button on the Stage.
Open the Property inspector (Window > Properties > Properties) and find the <Instance Name> text box in the Property inspector. Type inv_btn into the <Instance Name> text box.

Note: An instance name is different from the symbols name (which is what you type in the Name text box in the Convert to Symbol dialog box). An instance name cannot have spaces or special characters but can contain underscores. Also, instance names are case-sensitive.
在场景中选择隐藏按钮。
打开属性察看器(窗口〉属性〉属性)并在属性察看器中找到<实例名称>文本框。输入 inv_btn 到<实例名称>文本框中。
注意:实例名称不用于元件名称(就是当你在转换为元件对话框中输入的名称)。一个实例名称不能含有空格或者其他特殊字符,除了下划线。

Select Insert > Timeline > Layer to insert a new layer and then rename the new layer as actions.
Open the Actions panel (Window > Actions) and then select Frame 1 of the Actions layer.
Type the following ActionScript into the script pane (the editable text field) in the Actions panel:
inv_btn.onRelease = function(){
getURL("http://gnome.deseloper.com", "_blank");
};

Notice how you target the inv_btn instance in the first line of code. The event is the onRelease in your ActionScript code, which refers to the action when a user clicks and then releases the mouse over the inv_btn instance. Then you tell the button to open a particular web page (http://gnome.deseloper.com) in a new window (_blank) using the getURL() method. Obviously, you would replace this URL with whatever website you want the banner to open. If you want the banner to open the website in the current page, replace _blank with _self.

选择 插入〉时间轴〉层 插入一个新层重命名这个新层为 actions.
打开 动作面板(窗口〉动作)然后在Action层中选择第一帧。
输入下面的动作脚本到动作面板中的脚本长方块中(可编辑的文本区域):
inv_btn.onRelease = function(){
getURL("http://gnome.deseloper.com", "_blank");
};

注意你的目标inv_btn 实例在代码第一行。动作脚本代码中的事件是当鼠标释放(onRelease)时,就是说当用户在实例inv_btn上用鼠标点击然后释放时的动作。然后你告诉按钮使用getURL()这个方法在新窗口中(_blank)打开一个特定的网页(http://gnome.deseloper.com)。显然,你将会用和一个你想要banner打开的网址来替换这个URL。如果你要这个banner在当前页面打开网站,用_self替换_blank即可。

This is a simple piece of ActionScript code that reacts to a button click. There is much more information available about the ActionScript language in the Flash documentation (F1). Refer to the documentation's Table of Contents for books and reference guides on ActionScript. A good place to start is Learning ActionScript 2.0 in Flash.

这是关于响应单击按钮的一个简单的动作脚本代码。在flash帮助文档中(F1)里还有很多关于动作脚本语言的信息可以利用。查阅这个帮助文档中关于动作脚本的目录表格以及参考向导。这是个开始学习flash动作脚本2.0的好地方。