Re: 請問如何做

看板Flash作者時間20年前 (2003/11/18 23:51), 編輯推噓5(500)
留言5則, 3人參與, 最新討論串1/1
※ 引述《andyjih (few)》之銘言: : ※ 引述《andyjih (few)》之銘言: : : 用action寫 : : 一個圓 當滑鼠在左 圖往右轉 : 就當游標指在圓的右邊時,圓為逆時針轉 : 游標在圖的左邊時,圓變成順時針轉 : 至於有沒有要原地轉,是希望可以啦 原始檔 先存檔再開!! http://web.cc.ntnu.edu.tw/~48970308/currotedu.fla we make a MC named "cir", then we take it to be an instance named "cc". In frame1, follows are simple function as your wanted. rotspeed=getProperty("cc",_x)-_xmouse; //設定變數rotspeed if(rotspeed>=50){ rotspeed==50; } if(rotspeed<=-50){ rotspeed==-50; } //設定變數範圍 a=rotspeed*0.1+a; //設定變數a之值 setProperty("cc",_rotation,a); //設定"cc"之rotation. In frame2==> make a loop for all. That's all, enjoy. -- 好耶! 師傅不用去按摩了!!! post by harry.nakata

推218.166.142.143 11/19, , 1F
thx
推218.166.142.143 11/19, 1F

推 218.167.250.8 11/19, , 2F
告訴我你到底是不是用倉頡輸入法...XD
推 218.167.250.8 11/19, 2F
※ 編輯: harry901 來自: 218.167.250.8 (11/19 01:18)

推218.166.142.143 11/19, , 3F
是呀,只是那個圖跟圓是照題目寫的..^^"
推218.166.142.143 11/19, 3F

推 210.85.48.159 11/19, , 4F
看到舊語法. @@"
推 210.85.48.159 11/19, 4F

推140.122.199.193 11/19, , 5F
我從Flash2開始學學到現在...@@~
推140.122.199.193 11/19, 5F
文章代碼(AID): #_ka0Ozx (Flash)