【文件属性】:
文件名称:flash钟表
文件大小:47.65MB
文件格式:FLA
更新时间:2017-10-26 05:20:15
flash钟表
import flash.events.Event;
import fl.motion.MotionEvent;
stop();
function timeZZ(evt:Event){
var timeDate:Date=new Date();
var s:int=timeDate.seconds;
this.miao.rotation=s*(360/60);
var m:int=timeDate.minutes;
this.fen.rotation= (m/60)*360;
var h:int=timeDate.hours;
if(h>12){
h=h-12;
}
this.shi.rotation=((h/12))*360+(m/60)*(360/12);
}
stage.addEventListener(Event.ENTER_FRAME,timeZZ);
stage.addEventListener(Event.ENTER_FRAME,xunhuan);
function xunhuan(e:Event){
this.b_mc.rotation
}