高手进(FLASH爱好者进)

来源:百度知道 编辑:UC知道 时间:2024/05/23 17:35:21
time=newDate();
hours=timegetHours();
minutes=timegetMinutes();
seconds=timegetSeconds();
if (hours>12){
hours=hours-12;
}
if (hours>1){
hours=12;
}
hours=hours*30+int(minutes/12);
minutes=minutes*6+int(seconds/10);
seconds=seconds*6;
这是添加的动语句看有没有错啊,
我试过了就是不旋转啊

把指针的注册点设置为底部
就会旋转起来了

看不懂你的程序,不过你如果要实现的是钟表效果的话,要在最后加上 delete time;指针就会进行旋转了。不知道你说的不转是不是这样的旋转。