Flash ActionScript制作超酷視覺(jué)效果動(dòng)畫(huà)_Flash教程
推薦:解決Fla文件編譯SWF后體積過(guò)大經(jīng)�?吹桨婷嫔嫌腥藛�(wèn)這個(gè)問(wèn)題。想起我第一次碰到別人給我的源文件有這種情況時(shí),也是很頭疼,往往這些Fla文件中有著一大批動(dòng)態(tài)文本框。整理了一下具體的解決
效果演示:
具體代碼:
onClipEvent (load) {
x=0 //where the dot is
y=0 //where the dot is
xmove=0 //it's movement
ymove=0 //it's movement
}
onClipEvent (enterFrame) {
xmove = (_root._xmouse-_x-x)/10 //math
ymove = (_root._ymouse-_y-y)/10 //math
x =xmove (_root._xmouse-_x-x)/10 //math
y =ymove (_root._ymouse-_y-y)/10 //math
clear()
lineStyle(1,000000,100)
moveTo(oldx,oldy)
lineTo(x,y)
oldx=x //this is so that in the next frame it knows where the dot was last frame
oldy=y //this is so that in the next frame it knows where the dot was last frame
_rotation-- //This is negative on two of the movieclips (that initially have an opposite rotation to eachother), and positive on the other two.
}
分享:Flash ActionScript制作真實(shí)的火焰效果如下:點(diǎn)擊這里下載源文件主要代碼:importflash.display.*;importflash.filters.*;importflash.geom.*;importde.popforge.bitmap.Shape;Shape.s
- as中禁用ESC鍵
- AS3.0 圖片變黑白 圖片彩色變黑白代碼
- flash as3.0 跨域的解決辦法
- 模板無(wú)憂FLASH透明代碼
- Flash教你制作卡通MM眨眼睛動(dòng)畫(huà)
- Flash從零開(kāi)始學(xué)習(xí)創(chuàng)建單選按鈕
- Flash繪制小龍與花插畫(huà)場(chǎng)景
- Flash程序的測(cè)試方法
- Flash CS4文字顏色緩動(dòng)特效
- 網(wǎng)頁(yè)中演示類FLASH動(dòng)畫(huà)制作規(guī)范
- Flash CS3循環(huán)背景的運(yùn)用技巧
- Flash鼠繪技巧教你制作紅綠色的樹(shù)葉
Flash教程Rss訂閱網(wǎng)站制作教程搜索
Flash教程推薦
猜你也喜歡看這些
- Flash 8經(jīng)典動(dòng)畫(huà)設(shè)計(jì)實(shí)錄
- FIF小組FLASH MX 2004實(shí)例視頻教程
- Flash CS4視頻教程中文版
- Flash 8完美動(dòng)畫(huà)設(shè)計(jì)與制作
- Flash 8 入門與提高實(shí)例教程
- FIF小組Flash MX 2004視頻教程超速入門
- Flash 8中文版MV及課件制作基礎(chǔ)培訓(xùn)百例
- Authorware 7.0 Flash MX 2004多媒體創(chuàng)作實(shí)例導(dǎo)學(xué)
- 金鷹Flash ActionScript編程視頻教程 swf
- 金鷹FLASH CS3活學(xué)活用
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索Flash ActionScript制作超酷視覺(jué)效果動(dòng)畫(huà)
- 教程說(shuō)明:
Flash教程-Flash ActionScript制作超酷視覺(jué)效果動(dòng)畫(huà)
。