Re: [問題] 要設定感應區的一些問題

看板Flash作者時間17年前 (2008/05/28 17:14), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
動畫物件→ani_MC 首先...在動畫物件的第一個影格和最後影格下stop(); 再來...下面ActionScript的部份2選1 //1.寫在ani_MC物件上... this.onRollOver = function() { this.play(); } this.onRollOut = function() { this.stop(); } //2.在主場景影格上... ani_MC.onRollOver = function() { ani_MC.play(); } ani_MC.onRollOut = function() { ani_MC.stop(); } //有誤請訂正囉 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.133.12.202
文章代碼(AID): #18FIAC_J (Flash)
文章代碼(AID): #18FIAC_J (Flash)