




下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、Flash是美國Macromedia公司開發(fā)的用于矢量圖形設(shè)計(jì)、動(dòng)畫制作的軟件,主要特點(diǎn)有:使用矢量圖形和流式播放技術(shù)。矢量圖放大后并不失真,仍然保持原有的清晰度。流式播放技術(shù)使得動(dòng)畫可以邊播放邊下載,相對(duì)AVI、MPEG等格式的多媒體文件,體積又小很多,能快速地在Intranet或者Internet上播放。Internet Explort、Netscape等網(wǎng)頁瀏覽器均采用集成了Flash插件直接播放Flash生成的 后綴為SWF的文件,不需要安裝播放程序,通用性好。Flash與其他動(dòng)畫軟件最大的不同那個(gè)是ActionScript。ActionScript基于面向?qū)ο蟮木幊趟枷耄捎靡詴r(shí)間驅(qū)
2、動(dòng),以關(guān)鍵幀、按鈕和電影片段符號(hào)為對(duì)象來定義和編寫動(dòng)作腳本。使用簡單的腳本語句編程可以實(shí)現(xiàn)場(chǎng)景的跳轉(zhuǎn),與HEML網(wǎng)頁的鏈接,動(dòng)態(tài)裝載SWF文件等等。例如通過按鈕和一些基本語句go to and stop();go to and play();nextFrame();prevFrame()實(shí)現(xiàn)頁面的跳轉(zhuǎn)、節(jié)點(diǎn)的訪問;使用按鈕和go to and play(),stop()語句實(shí)現(xiàn)電影片段 的停止和播放。高級(jí)的腳本語句編程可以實(shí)現(xiàn)復(fù)雜的人機(jī)交互、游戲、在線商務(wù)系統(tǒng)等等,也包括仿真物理實(shí)驗(yàn)。下面談?wù)劮抡嫖锢碚n件的制作。1動(dòng)態(tài)課件的主界面HTML和ActionScript可實(shí)現(xiàn)在一個(gè)web玉面中多個(gè)對(duì)
3、象鏈接及動(dòng)態(tài)交互功能。在采用框架頁面的課件主界面中,包含實(shí)驗(yàn)原理、實(shí)驗(yàn)?zāi)康暮蛢x器、實(shí)驗(yàn)內(nèi)容 三個(gè)模塊,對(duì)應(yīng)三個(gè)模塊制作具有互動(dòng)功能的三個(gè)小窗口。當(dāng)鼠標(biāo)指向某個(gè)模塊的互動(dòng)功能小窗口時(shí),顯示其相應(yīng)模塊的主要內(nèi)容,并配上輔助窗口加以說明。例如鼠標(biāo)指向?qū)嶒?yàn)原理模塊互動(dòng)功能小窗口,頁面顯示實(shí)驗(yàn)原理圖及子模塊的鏈接,輔助窗口介紹主要原理。當(dāng)鼠標(biāo)指向另一模塊的互動(dòng)功能小窗口是,動(dòng)態(tài)切換到另一模塊的頁面,從而實(shí)現(xiàn)方面迅速的瀏覽 整個(gè)實(shí)驗(yàn)的概況。2建立組件庫經(jīng)常使用的對(duì)象建成Symbol(組件),這樣可以方便地重復(fù)使用同一個(gè)對(duì)象,加快動(dòng)畫播放速度,縮短動(dòng)畫下載時(shí)間,減少動(dòng)畫文件體積。組件類型有按鈕 。電影片段及
4、圖片。為保證仿真效果,實(shí)驗(yàn)儀器、元件等素材一般應(yīng) 采用實(shí)物圖像。將課件所要用到的素材添加到Windows/Library,建立組件庫。3創(chuàng)建圖層Flash可以創(chuàng)建多個(gè)圖層 。每個(gè)圖層像是透明的畫布,將他們按一定的順序疊放排列,從上往下看時(shí),上層的對(duì)象啊會(huì)將下層的對(duì)象遮住,而透過上層的透明區(qū)可以看到下層的對(duì)象。把對(duì)象分層放置的優(yōu)點(diǎn)是黨在一個(gè)圖層上繪制并編輯對(duì)象時(shí),其它圖層上的對(duì)象不會(huì)受到影響,因此可以利用多個(gè)圖層來組織和安排影像中的文字、圖像和動(dòng)畫等對(duì)象。原則上靜止的部件放置在同一個(gè)圖層,運(yùn)動(dòng)或者變化的部件放置在不同的圖層上。4 編輯操作幀制作動(dòng)畫的過程表現(xiàn)為在“時(shí)間軸”的流程中安排不同的場(chǎng)景(
5、幀)。所謂的時(shí)間軸,就是一個(gè)以時(shí)間為基礎(chǔ)的線性進(jìn)度安排表 ,讓設(shè)計(jì)者以時(shí)間的進(jìn)行為基礎(chǔ),一步步的安排每一個(gè)動(dòng)作。所謂幀是最通用的動(dòng)畫計(jì)量單位,設(shè)計(jì)者可以將不同的對(duì)象安排在時(shí)間軸內(nèi),讓不同的對(duì)象或圖層上的部件,有一個(gè)共同的時(shí)間標(biāo)準(zhǔn)。只要對(duì)準(zhǔn)了同一幀,就可以保證所有的動(dòng)作都會(huì)在同一時(shí)間發(fā)生。圖一是邁克爾遜干涉儀光路原理圖動(dòng)畫制作的操作幀編輯,左邊表示有元件說明、光線和遠(yuǎn)見圖三個(gè)圖層 ,右邊對(duì)應(yīng)各圖層 的幀在時(shí)間軸上的安排,按照不同的圖層要求,講相應(yīng)的組件放置其上,其他幀的安排不同的內(nèi)容。5添加動(dòng)作腳本交互式動(dòng)畫在于設(shè)置指定時(shí)間發(fā)生時(shí)執(zhí)行的動(dòng)作(Action)。在時(shí)間軸上安置好各圖層的目標(biāo)對(duì)象后,打
6、開Action窗口為指定的不同時(shí)間設(shè)置動(dòng)作腳本。簡單的交互動(dòng)作可以采用添加按鈕的方式,對(duì)按鈕進(jìn)行編程來控制電影片段的動(dòng)作。負(fù)責(zé)的人機(jī)交互,可以通過輸入不同的數(shù)據(jù)來產(chǎn)生不同的動(dòng)畫,由輸入文本(Input text)和腳本語句編程來進(jìn)行控制。輸入文本變量用來動(dòng)態(tài)的接受用戶輸入數(shù)據(jù),通過程序?qū)ψ兞康姆治霎a(chǎn)生相應(yīng)的動(dòng)畫。例如完全彈性碰撞演示實(shí)驗(yàn),主要程序如下:Var m1,m2,v1,v2/兩個(gè)物體的質(zhì)量、速度變量X1=getproperty(“m1”,_x);X2=getproperty(“m2”,_x);If(Number(x)>=Number(x2)-50 & Number(m1)
7、=Number(m2)V1=0;V2=v1;If(Number(x1)>=Number(x2)-50 & Number(m1)>Number(m2)V1=(Number(v1)*(Number(m1)-Number(m2)/(Number(m2);V2=2*(Number(v1)*Number(m1)/(Number(m1)+Number(m2);If(Number(x1)>=Number(x2)-50 & Number(m1)<Number(m2)V1=(Number(v1)*(Number(m1)-Number(m2)/(Number(m2);V2=
8、2*(Number(v1)*Number(m1)/(Number(m1)+Number(m2);輸入兩個(gè)物體的質(zhì)量值和第二個(gè)物體的初速度值,相應(yīng)產(chǎn)生碰撞前后的物體運(yùn)動(dòng)的動(dòng)畫仿真。Flash軟件具有強(qiáng)大的交互功能,進(jìn)行腳本編程開發(fā),能夠仿真復(fù)雜的實(shí)驗(yàn)操作、實(shí)驗(yàn)現(xiàn)象等,可以起到預(yù)習(xí)物理實(shí)驗(yàn)提高現(xiàn)場(chǎng)實(shí)驗(yàn)成功和效率的目的。Flash軟件制作的動(dòng)畫文件體積小,兼容性強(qiáng) ,在Internet上 能夠快速下載播放,滿足網(wǎng)絡(luò)教學(xué)的需要。Macromedia Flash is the United States developed for vector graphics design, animation so
9、ftware, main features are: use of vector graphics and streaming technologies. Distortion vector is not enlarged, still maintain the original definition. Streaming technology allows the animation to download while playing, the relative AVI, MPEG and other formats of multimedia files, and small lot si
10、ze, can quickly be played in the Intranet or Internet. Internet Explort, Netscape and other Web browser plug-ins are used to directly play integrated Flash-generated suffix Flash SWF files, no need to install player, common good. Flash animation software with other major difference is that ActionScr
11、ipt. ActionScript object-oriented programming-based thinking, using a time-driven, the key frame, button and movie clip symbols for the object to define and write action scripts. Programming using a simple script statement can jump scene, and HEML page links, dynamic loading SWF files and more. For
12、example, the buttons and some basic statements go to and stop (); go to and play (); nextFrame (); prevFrame () to achieve the jump page, the access node; use of buttons and go to and play (), stop () Statement to achieve stop and play movie clips. Advanced programming script statement can implement
13、 complex human-computer interaction, gaming, online business systems, etc., including simulation of physical experiments. Turning next to the physical simulation courseware production.1, the main interface of Dynamic CoursewareHTML and ActionScript can be achieved in a number of objects in the linke
14、d web page and dynamic interactive features. Courseware using the framework of the page in the main interface, including the experimental principle, experimental purposes, and equipment, contents of three modules, corresponding to the three modules with interactive features to create three small win
15、dows. When the mouse is pointing to a module of the interactive features of the small window, showing the main contents of the corresponding module, and coupled with secondary window to illustrate this. Principle modules such as a mouse pointing interactive features small window, the page displays e
16、xperimental schematics and links to sub modules, introduce the main principles of secondary window. When the mouse is pointing to another module of the interactive features of the small window, the dynamic page to switch to another module, in order to achieve the rapidly browse the profile of the en
17、tire experiment.2 Create component libraryFrequently used objects into Symbol (components), so you can easily reuse the same object, to speed up the animation playback speed, shorten the download time animation, animation files to reduce size. Component types button. Movie clips and pictures. To ens
18、ure the simulation results, laboratory equipment, components and other material should normally be in-kind images. To use the courseware to the material that added to the Windows / Library, established component library.3 Create Layer Flash can create multiple layers. Each layer like a transparent c
19、anvas, according to a certain order of their stacking order, from top-down view, the upper object ah object will cover the lower, and through the transparent areas can be seen the upper lower Objects. Advantage of the object hierarchy of the party placed in a draw and edit objects on layers, other l
20、ayers of the object will not be affected, so you can use layers to organize and arrange multiple images in the text, images and animations Other objects. In principle, stationary parts in the same layer, movement or change of parts in different layers.4 frame editingThe process of animation performa
21、nce in "Timeline, "the process of arranging different scenes (frames). Timeline of the so-called, is a linear time-based scheduling table, the time for designers to make the basis of the arrangement step by step, every movement. The so-called frame animation is the most common unit of meas
22、urement, the designer can arrange the different objects within the timeline, so that objects or layers of different components, there is a common time standard. Just aim for the same frame to ensure that all of the action will happen at the same time.Figure One Michelson interferometer optical schem
23、atic diagram of the operation frame animation editor, there are elements left that shows the three layers of light and vision plans, the right side of the frame corresponding to the layers on the timeline of the arrangement, according to different plans Level requirements, the corresponding componen
24、ts of stresses placed on it, other arrangements for different content frames.5 Add the action scriptInteractive animation is set to perform the specified time the action occurs (Action). Settle on the timeline of the target layer, open the Action window, with different time settings for the specifie
25、d action script.Simple actions can be used to add interactive mode button on the button to be programmed to control the action movie clips. Responsible for human-computer interaction, you can enter different data to produce different animations, from the input text (Input text) and the script statem
26、ents to be controlled programmatically. Dynamic input text variable is used to accept user input data, the analysis of variables through the process to produce the corresponding animation. For example, fully elastic collision demonstration, the main procedures are as follows:Var m1,m2,v1,v2/ Two objects of quality, speed variableX1=getproperty(“m1”,_x);X2=getproperty(“m2”,_x);If(Number(x)>=Number(x2)-50 & Number(m1)=Number(m2)V1=0;V2=v1;If(Number(
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(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ǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 護(hù)理腫瘤病人禮儀培訓(xùn)
- 江西省婺源縣2024-2025學(xué)年初三學(xué)生調(diào)研考試數(shù)學(xué)試題含解析
- 江蘇省永豐初級(jí)中學(xué)2024-2025學(xué)年七校聯(lián)考高考物理試題一模試卷含解析
- 中國計(jì)量大學(xué)現(xiàn)代科技學(xué)院《中醫(yī)藥學(xué)概論》2023-2024學(xué)年第二學(xué)期期末試卷
- 麗水職業(yè)技術(shù)學(xué)院《音樂文獻(xiàn)檢索與論文寫作》2023-2024學(xué)年第二學(xué)期期末試卷
- 渭南市澄城縣2024-2025學(xué)年五年級(jí)數(shù)學(xué)第二學(xué)期期末教學(xué)質(zhì)量檢測(cè)模擬試題含答案
- 山西藥科職業(yè)學(xué)院《醫(yī)學(xué)細(xì)胞生物學(xué)討論》2023-2024學(xué)年第一學(xué)期期末試卷
- 江蘇省泰州市泰興市黃橋教育聯(lián)盟重點(diǎn)名校2025屆初三下學(xué)期聯(lián)考(二)語文試題試卷含解析
- 江蘇大學(xué)京江學(xué)院《校園音樂活動(dòng)策劃》2023-2024學(xué)年第二學(xué)期期末試卷
- 內(nèi)蒙古藝術(shù)學(xué)院《教你玩轉(zhuǎn)信息化學(xué)習(xí)》2023-2024學(xué)年第二學(xué)期期末試卷
- 2024年山東青島職業(yè)技術(shù)學(xué)院招聘筆試真題
- 2025履約類保函擔(dān)保合同范本
- 2025年03月河北邯鄲武安市事業(yè)單位春季博碩人才引進(jìn)55名筆試歷年典型考題(歷年真題考點(diǎn))解題思路附帶答案詳解
- 2025年中國濾波電抗器市場(chǎng)調(diào)查研究報(bào)告
- DB15-T 3967.2-2025 氣候可行性論證技術(shù)規(guī)范 第2部分:太陽能發(fā)電工程
- 日租房協(xié)議合同
- 2024年湖南省高等學(xué)校對(duì)口招生考試英語試卷試題真題
- 公司2025年工會(huì)工作要點(diǎn)
- 2025年中國煤炭地質(zhì)總局社會(huì)招聘20人筆試參考題庫附帶答案詳解
- 公共衛(wèi)生應(yīng)急管理調(diào)研報(bào)告范文
- 【9物一模】安徽合肥瑤海區(qū)2025年中考物理一模試卷
評(píng)論
0/150
提交評(píng)論