Re: [問題] 請問一下??

看板Flash作者 (crush on elisha... )時間17年前 (2008/04/08 15:22), 編輯推噓2(200)
留言2則, 1人參與, 最新討論串7/7 (看更多)
還是一個關於停止的問題 這邊是.fla檔http://www.badongo.com/file/8718192 我在我的 _root.onEnterFrame = function() 這個function裡面最後面加了一句 if (_root["qiu"+1]._x >= _root["cir"+20]._x and _root["qiu"+1]._y <= _root["cir"+20]._y) { return; } 是說當我會動的cube其中的某一點 只要跟固定的cube中的一點重疊後就停止 可是這樣寫沒用,跟上次一樣同樣都用return 為什麼這次卻不行了????? 在次麻煩了各位大大 小弟先謝過了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.112.90 ※ 編輯: Godkiller 來自: 140.109.112.90 (04/08 15:24)

04/08 16:41, , 1F
把return 換這句試試 delete _root.onEnterFrame
04/08 16:41, 1F

04/08 16:42, , 2F
BTW, 怎麼裡面的註解有簡體字呀 :)
04/08 16:42, 2F
文章代碼(AID): #17-nqOn8 (Flash)
文章代碼(AID): #17-nqOn8 (Flash)