主题:  怎么停呀!!!!!

超级战神

职务:普通成员
等级:1
金币:0.0
发贴:48
#12002/3/20 20:49:55
我想让影片播放是,按下某个按钮是暂停,再按下恢复,怎么做呀?????



zhy_5d

职务:普通成员
等级:1
金币:0.0
发贴:4
#22002/3/20 21:25:00
property pstate
on beginsprite me
pstate=1
--如果开始是停止状态 pstate=0
end

on mouseup me
pstate=not(pstate)
end
on exitframe me
if pstate=0 then
go the frame
end if
end
将这个行为赋给按钮即可



night_5d

职务:普通成员
等级:2
金币:1.0
发贴:275
#32002/3/21 0:02:14
最简单的办法,alert一下就停了


[img]http://61.144.28.245/hjc/web/non-cgi//usravatars/paladin.gif[/img]
I thirst for freedom

donlee

职务:普通成员
等级:1
金币:1.0
发贴:271
#42002/3/23 20:00:12
按directro推荐的方法是使用:
on exitframe me
go the frame
end
但我想可能你需要的是使用pause命令。尽管macromedia不再用它。