主题:  精灵"back"的代码如下:

xiaoxiaowhx

职务:普通成员
等级:1
金币:0.0
发贴:4
注册:2003/1/20 9:59:21
#12003/1/20 10:22:27
哪位朋友帮我解释一下精灵"back"的代码的意思?详细一点!多谢!
on mouseup me
if the movietime of sprite 1<240 then
set the movietime of sprite 1 to 0
else
set the movietime of sprite 1 to the movietime of sprite 7-240
end if
end
(单击精灵“back",播放时间后退三秒,但我看不懂,240是什麽?)
我总觉得是4秒呢?

Text

编辑历史:[这消息被xiaoxiaowhx编辑过(编辑时间2003-01-22 08:50:36)]


D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
#22003/1/20 16:47:05
240=4*60也就是三秒
当播放时间小于三秒回到头,其他回到三秒前

编辑历史:[这消息被54zq编辑过(编辑时间2003-01-21 19:09:49)]


directorX

职务:普通成员
等级:1
金币:1.0
发贴:168
注册:2002/12/24 11:28:55
#32003/1/21 16:38:46
你不会3*60也不会算吧?我服了你!



HolyKnight

职务:普通成员
等级:1
金币:1.0
发贴:175
注册:2002/12/25 12:38:14
#42003/1/21 17:07:48
240=60*4
是四秒吧