波段买卖指标源码:FLASH脚本问题-钟表

来源:百度文库 编辑:高考问答 时间:2024/05/11 03:33:25
我想做个钟表
脚本的三个针的转动怎么计算?

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)
懂了吗?既然玩脚本,我相信你能看懂