xiaozhong在上个帖子中说
引用:
对不起!能不能给我讲详细一点,我是用来做触摸屏的,在主界面上面等待5分种没有人点击,就返回动画,可是那段代码,往哪里放呀!谢谢!!!
可以这样:
---------------------------------------------------------------
global pticks
on exitFrame me
pticks=the timer
if pticks>60*300 then
go 10 --动画所在桢
end if
if the mousedown then
pticks=0
starttimer
end if
go the frame
end
上面这段行为放在桢脚本里
--------------------------------
这段放在影片脚本里
on startmovie
starttimer
end
--------------------------------