中国银行苏州跨塘支行:FLASH脚本问题-钟表

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 01:13:03
我想做个钟表
脚本的三个针的转动怎么计算?

time=mew Date();
h=time.getHours();
m=time.getMinutes():
s+time.getSeconds();
[指针旋转就是]
SetProperty(hh,_rotation,H*30+m/2)
SetProperty(mm,_rotation,6*m)
SetProperty(ss,_rotation,6*s)
懂了吗?既然玩脚本,我相信你能看懂