`
hgfghw6
  • 浏览: 43280 次
  • 性别: Icon_minigender_2
  • 来自: 广州
社区版块
存档分类
最新评论

指针随鼠标移动的flash卡通时钟

阅读更多

 
。先看下时钟效果:
var fnum:Number = new Number();
Miao = 0;
Fen = 0;
Shi = 0;
function clock_func() {
with (this.clock_mc.zhen_mc) {
  SHand._rotation = Miao*6;
  MHand._rotation = Fen*6;
  HHand._rotation = Shi*30+30*Fen/60;
}
}
clock_func();
clearInterval(ID);
for (var d:Number = 11; d>=0; d--) {
this["mc"+d].num = d;
this["mc"+d].onRelease = function() {
  this.num*5=fnum) {
    clearInterval(ID);
   }
   Fen>=60 ? Fen=0 : Fen++;
  }, 10);
};
}
stop();[1b]源文件:

 [/1b]
[1b]时钟.rar[/1b]
本文转自:http://www.5uflash.com/flashjiaocheng/Flashdonghuajiaocheng/1229.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics