作者Godkiller (crush on elisha... )
看板Flash
标题Re: [问题] 请问一下??
时间Tue Apr 8 15:21:57 2008
还是一个关於停止的问题
这边是.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)
1F:推 aquarianboy:把return 换这句试试 delete _root.onEnterFrame 04/08 16:41
2F:推 aquarianboy:BTW, 怎麽里面的注解有简体字呀 :) 04/08 16:42