![ActionScript 3.0概述畢業(yè)論文外文翻譯_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-4/17/6ac6b3ff-290a-4bc1-9b55-dd6f70909c61/6ac6b3ff-290a-4bc1-9b55-dd6f70909c611.gif)
![ActionScript 3.0概述畢業(yè)論文外文翻譯_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-4/17/6ac6b3ff-290a-4bc1-9b55-dd6f70909c61/6ac6b3ff-290a-4bc1-9b55-dd6f70909c612.gif)
![ActionScript 3.0概述畢業(yè)論文外文翻譯_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-4/17/6ac6b3ff-290a-4bc1-9b55-dd6f70909c61/6ac6b3ff-290a-4bc1-9b55-dd6f70909c613.gif)
![ActionScript 3.0概述畢業(yè)論文外文翻譯_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-4/17/6ac6b3ff-290a-4bc1-9b55-dd6f70909c61/6ac6b3ff-290a-4bc1-9b55-dd6f70909c614.gif)
![ActionScript 3.0概述畢業(yè)論文外文翻譯_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-4/17/6ac6b3ff-290a-4bc1-9b55-dd6f70909c61/6ac6b3ff-290a-4bc1-9b55-dd6f70909c615.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、英文原文actionscript 3.0 actionscript 3.0 is a powerful, object-oriented programming language that signifies an important step in the evolution of the capabilities of the flash player runtime. the motivation driving actionscript 3.0 is to create a language ideally suited for rapidly building rich intern
2、et applications, which have become an essential part of the web experience.earlier versions of actionscript offered the power and flexibility required for creating truly engaging online experiences. actionscript 3.0 now further advances the language, providing superb performance and ease of developm
3、ent to facilitate highly complex applications, large datasets, and object-oriented, reusable code bases. with actionscript 3.0, developers can achieve excellent productivity and performance with content and applications that target flash player.actionscript 3.0 is based on ecmascript, the internatio
4、nal standardized programming language for scripting. actionscript 3.0 is compliant with the ecmascript language specification, third edition . it also contains functionality based on ongoing work on ecmascript edition 4, occurring within the ecma standards body.actionscript is executed by the action
5、script virtual machine (avm) built into the flash player. avm1, the virtual machine used to execute legacy actionscript code, powers flash player today and makes possible a wide range of interactive media and rich internet applications.however, developers have started to push avm1 to its limits; the
6、ir project requirements now demand a major breakthrough. actionscript 3.0 introduces a new highly optimized actionscript virtual machine, avm2, which dramatically exceeds the performance possible with avm1. as a result, actionscript 3.0 code executes up to 10 times faster than legacy actionscript co
7、de.the new avm2 virtual machine is available in flash player 9, and will be the primary virtual machine for actionscript execution going forward. the older avm1 will continue to be supported by flash player for backwards compatibility with existing and legacy content.there are numerous products that
8、 generate content and applications targeted at the flash player runtime. often these products incorporate support for actionscript to add interactivity and behavior to their output. in the adobe product family, professional designers and developers might use actionscript within several tools and ser
9、verssuch as flash, flex, and flash media serverto create content and applications for flash player. the flex product family, including the new eclipse-based flex builder 2 ide, will be the first product line to access the new capabilities of actionscript 3.0.goals of actionscript 3.0we wanted action
10、script 3.0 to deliver an improved, consistent programming model; compliance with industry standards; and performance an order of magnitude greater than what we delivered in the past. although actionscript 3.0 represents a new programming model for the runtime, it is one that will be familiar to deve
11、lopers with a basic knowledge of object-oriented programming.actionscript 3.0 is designed to address the following goals: safety: the language supports type safety so developers can write unambiguous, easily maintainable code. simplicity: the language is intuitive enough for developers to be able to
12、 read and write programs without constantly consulting a reference manual. performance: the language enables developers to write complex programs that perform efficiently and responsively. compatibility: the language provides a short backward and forward compatibility path and a significant overlap
13、with industry standards. actionscript 3.0 is a dialect of ecmascript which formalizes the features of actionscript 2.0, adds the capabilities of ecmascript for xml (e4x), and unifies the language into a coherent whole.features of actionscript 3.0actionscript 3.0 consists of two parts: the core langu
14、age and the flash player api. the core language defines the basic building blocks of the programming language, such as statements, expressions, conditions, loops, and types. the flash player api is made up of classes that represent and provide access to flash playerspecific functionalityactionscript
15、 3.0 contains a host of powerful new features that can greatly speed the development process. regular expression support enables a variety of powerful operations on text. ecmascript for xml (e4x) transforms xml into a native data type, dramatically simplifying xml processing. the new display list ap
16、i makes working with visual objects far more straightforward and consistent. the standardized dom event model cements the way those objects talk and respond to each other at runtime. these are only a few of the many new capabilities of actionscript 3.0.language featuresactionscript 3.0 brings the co
17、re language aspects of actionscript 2.0 into compliance with the ecmascript standard and introduces some areas of new or enhanced functionality. all of these features are discussed in comprehensive detail in the actionscript 3.0 language reference, available in beta version on adobe labs.following i
18、s a high-level summary of the developer benefits and usage of some of the new features.runtime exceptionsin actionscript 2.0, many runtime errors would fail in a graceful but silent fashion. this ensured that flash player would not display some inexplicable dialog box, which javascript did in early
19、web browsers. on the other hand, this lack of error reporting made it more challenging to debug actionscript programs. actionscript 3.0 introduces a variety of runtime exceptions for common error conditions, improving the debugging experience and enabling applications that handle errors robustly. ru
20、ntime errors can provide stack traces annotated with source file and line number information, helping to pinpoint errors quickly.runtime typesin actionscript 2.0, type annotations were primarily an aid for developers; at runtime, all values were dynamically typed.in actionscript 3.0, type informatio
21、n is preserved at runtime and utilized for a number of purposes. flash player performs runtime type checking, improving the systems type safety. type information is also used to represent variables in native machine representations, improving performance and reducing memory usage.sealed classesactio
22、nscript 3.0 introduces the concept of a sealed class. a sealed class possesses only the fixed set of properties and methods that were defined at compile-time; additional properties and methods cannot be added. this makes stricter compile-time checking possible, resulting in more robust programs. it
23、also improves memory usage by not requiring an internal hash table for each object instance. dynamic classes are also possible using the dynamic keyword.method closuresevent handling is simplified in actionscript 3.0 thanks to method closures, which provide built-in event delegation. in actionscript
24、 2.0, a closure would not remember what object instance it was extracted from, leading to unexpected behavior when the closure was invoked. the mx.utils.delegate class was a popular workaround; to use it, you would write code as follows: mybutton.addeventlistener(click,delegate.create(this, somemeth
25、od); delegate.create(this, somemethod) this class is no longer needed because in actionscript 3.0, a method closure will be generated when somemethod is referenced. the method closure will automatically remember its original object instance. now, one can simply write:mybutton.addeventlistener(click,
26、 somemethod);附錄:譯文actionscript 3.0概述actionscript 3.0 演變成一門強(qiáng)大的面向?qū)ο蟮木幊陶Z言意味著flash平臺(tái)的重大變革。這種變化也意味著 actionscript 3.0 將創(chuàng)造性地將語言理想地迅速地建立出適應(yīng)網(wǎng)絡(luò)的豐富應(yīng)用程序, 成為豐富網(wǎng)絡(luò)應(yīng)用(rich internet application)項(xiàng)目的本質(zhì)部分。比較早期的actionscript版本就已經(jīng)提供了這種要求為創(chuàng)造真實(shí)地參與在線體驗(yàn)的力量和靈活性。actionscript 3.0 將促進(jìn)和發(fā)展這種性能, 提供發(fā)展強(qiáng)大表現(xiàn)和舒適的先進(jìn)的高度復(fù)雜應(yīng)用, 結(jié)合大型數(shù)據(jù)庫以及可移值性的
27、面象對象的代碼。擁有 actionscript 3.0,開發(fā)者可能達(dá)到高效執(zhí)行效率和表現(xiàn)同一的平臺(tái)。 actionscript 3.0 基于ecmascript, ecmascript是所有編程語言的國際規(guī)范化的語言。actionscript 3.0 同樣遵從ecmascript語言規(guī)范。actionscript 由嵌入在flash player的actionscript虛擬機(jī) (avm)執(zhí)行。avm1, 是執(zhí)行以前版本的actionscript的虛擬機(jī), 今天變的更加強(qiáng)大的flash平臺(tái)使得可能創(chuàng)造出交互式媒體和豐富的網(wǎng)絡(luò)應(yīng)用。然而, avm1卻在擠壓著開發(fā)者們的極限 他們的項(xiàng)目現(xiàn)在到了要求
28、它變革的時(shí)刻了。actionscript 3.0 帶來了一個(gè)更加高效的actionscript 執(zhí)行虛擬機(jī)avm2,它將徹底的脫胎換骨于avm1 。 它將意味著, actionscript 3.0執(zhí)行效率將比以前的actionscript執(zhí)行效率高出至少10倍。新的avm2 虛擬機(jī)將會(huì)嵌入于flash player8.5當(dāng)中, 它將成為執(zhí)行actionscript的首先虛擬機(jī)。當(dāng)然舊的avm1將繼續(xù)嵌入在flash player8.5當(dāng)中以兼容以前的actionscript。 有眾多的產(chǎn)品把自身的展示和應(yīng)用表現(xiàn)于flash player當(dāng)中,這些產(chǎn)品的動(dòng)畫也經(jīng)常應(yīng)用到actionscript
29、以增加互動(dòng)和行為表現(xiàn)他們的產(chǎn)品。 在macromedia 產(chǎn)品家族, 專業(yè)設(shè)計(jì)師和也許使用 actionscript 在幾個(gè)產(chǎn)品當(dāng)中, 譬如macromedia flash, flex,和flash media servers創(chuàng)造出內(nèi)容和應(yīng)用表現(xiàn)在flash player當(dāng)中。在flex2 產(chǎn)品家族, 包括最新的基于eclipe的flex builder 2 ide,會(huì)是系列產(chǎn)品中第一個(gè)應(yīng)用actionscript 3.0 的新體驗(yàn)的產(chǎn)品。 actionscript 3.0的目標(biāo): 我們需要actionscript 3.0 提供一個(gè)先進(jìn)的, 與編程模型一致的, 服從業(yè)界標(biāo)準(zhǔn), 以及表現(xiàn)將數(shù)量級
30、大于我們過去的執(zhí)行效能。雖然actionscript 3.0 代表著flash平臺(tái)一個(gè)新的編程模型,它也將會(huì)是一個(gè)讓開發(fā)者熟悉的基礎(chǔ)的面對對象的編程語言。 actionscript3.0的出現(xiàn)將展現(xiàn)出如下目標(biāo): 安全 它支持一定的安全以使得能夠讓開發(fā)者寫出明白的, 容易的可維護(hù)的代碼。 樸素 - 這種語言的直觀程度使開發(fā)者能夠直接讀和寫項(xiàng)目,而不需要經(jīng)常參考手冊 表現(xiàn) - 這種語言使開發(fā)者寫出高效率的和表現(xiàn)性強(qiáng)的復(fù)雜項(xiàng)目。 兼容性 - 這種語言拋棄不規(guī)范的語言標(biāo)準(zhǔn)以及提供向后兼容以及有意義的交替以符合業(yè)界標(biāo)準(zhǔn)。actionscript 3.0 是規(guī)范化了的actionscript 2.0, 增
31、 加了ecmascript 其中的xml應(yīng)用(e4x) ,使得這 種語言融入ecmascript整體連為一貫。 actionscript 3.0的特征: actionscript 3.0 包括二部分: 核心語言和flash playerapi 。核心語言用于定義編程語言的結(jié)構(gòu), 譬如聲明, 表示, 條件, 循環(huán), 和類型 。flash player api是 由一系列精確定義flash player功能的類組成。actionscript 3.0 擁有盡可能的挖掘出計(jì)算機(jī)剩余性能的新特點(diǎn)。規(guī)則表示支持使操作性更加強(qiáng)大的xml。 ecmascript for xml (e4x) 使得xml 成為通用數(shù)據(jù)類型, 將大大地簡化xml 處理。新的display listapi將使虛擬對象更加的協(xié)調(diào)一致。 規(guī)范化的dom 事件模型使得那些對象的表示和響應(yīng)結(jié)合的更加強(qiáng)勁。當(dāng)然這些只是actionscript3.0許多新的體驗(yàn)當(dāng)中的一部分。actionscript3.0語言特點(diǎn): actionscript 3.0 的出現(xiàn)是actionscript 2.0 的核心語言方面融入ecmascript 以遵守其標(biāo)準(zhǔn)和引入新的改進(jìn)的一些功能區(qū)域的結(jié)合。所有這些特點(diǎn)在actionscript 3.0 語言參考中都有詳細(xì)的介紹和討論,可得到試用版正在
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年全球及中國環(huán)己基甲醛行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 2025年全球及中國CVD基座行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報(bào)告
- 正確兒童觀的樹立講解
- 防盜門產(chǎn)品購銷合同
- 2025打樁機(jī)租賃合同
- 香菇菌棒銷售合同樣本
- 2025技術(shù)服務(wù)委托合同
- 海鹽縣二手房買賣合同
- 鋼琴銷售合同范本
- 魚池轉(zhuǎn)包合同范本
- 化工過程安全管理導(dǎo)則AQT 3034-2022知識(shí)培訓(xùn)
- 第02講 導(dǎo)數(shù)與函數(shù)的單調(diào)性(教師版)-2025版高中數(shù)學(xué)一輪復(fù)習(xí)考點(diǎn)幫
- 2024屆新高考語文高中古詩文必背72篇 【原文+注音+翻譯】
- 中華人民共和國學(xué)前教育法
- 2024年貴州公務(wù)員考試申論試題(B卷)
- 三年級(下冊)西師版數(shù)學(xué)全冊重點(diǎn)知識(shí)點(diǎn)
- 期末練習(xí)卷(試題)-2024-2025學(xué)年四年級上冊數(shù)學(xué)滬教版
- 2025年公務(wù)員考試申論試題與參考答案
- 中國高血壓防治指南(2024年修訂版)要點(diǎn)解讀
- 二十屆三中全會(huì)精神應(yīng)知應(yīng)會(huì)知識(shí)測試30題(附答案)
評論
0/150
提交評論