主题:  请教问题1:自动播放?

mler

职务:普通成员
等级:1
金币:3.0
发贴:268
注册:2000/10/16 15:16:52
#12002/5/1 16:56:00
我在D中设置等待一段时间后电影自动播放。请教如何能使只要鼠标在动的情况下电影不执行自动播放。仅仅是鼠标一段时间不动的情况下才执行电影自动播放。
我是这样写的:
on beginSprite
startTimer
end
on exitFrame
if (the timer < 60 * 16) then go the frame
if (the timer > 60 * 16) then go the frame+1

end

但这样不管你动不动鼠标,,电影在16秒后就自动走了:(



D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
#22002/5/1 17:19:18
set the timeoutMouse =true
set the timeoutLength to 6 * 60
set the timeoutScript = "go frame +1"



mler

职务:普通成员
等级:1
金币:3.0
发贴:268
注册:2000/10/16 15:16:52
#32002/5/2 2:49:14
兄弟,我是菜鸟,,不好意思,你这个好象不管用,,能说详细点吗?



满眼金星

职务:普通成员
等级:2
金币:1.0
发贴:441
注册:2000/12/15 21:17:37
#42002/5/2 3:42:14
timeoutmouse
好像是点击激活吧~~~~



zzcrc

职务:普通成员
等级:3
金币:1.0
发贴:961
注册:2001/2/6 15:28:13
#52002/5/5 1:36:11
54zq在上个帖子中说
引用:
set the timeoutMouse =true
set the timeoutLength to 6 * 60
set the timeoutScript = "go frame +1"


----点击鼠标动作是否能够重新设置timeoutlapsed的值
----设置时间长度成6秒
----当timeout时间触发的时候调用"go frame+1“事件

明白了吗?大体意思就这样了,不明白我也没办法