Flash游戏、Flash音乐、小游戏

加入收藏

设为主页

首页 | Flash游戏 | Flash音乐 | Flash动画 | 邻家女孩 | 动漫下载 | 小说 | 动漫资讯 | 免费博客

Flash游戏 | 动漫COSPLAY | 手机世界 | 游戏新闻 | IT业界 | 动漫设计 | 软硬件交流

首页>>动漫设计>>正文AS创作-实时时钟

将woogood加入收藏夹 | 将woogood设置成为你电脑首页

搜索 SEARCH

    

AS创作-实时时钟

作者:[] 来源:[] [2005-10-6 17:14:27] [对"AS创作-实时时钟"发表评论]

最新文章

·隐藏卸载信息:跟入侵者玩躲猫猫
·网络新威胁 无线局域网入侵检测现
·宽带用户易被攻击 用户需注意七大
·如何查找和清除线程插入式木马程
·日志分析两部曲:充分利用日志保
·安全设置Windows组策略 有效阻止
·实现了!中文WinXP安装IE7 Beta1
·黑客破解Email账号常用的三种方法
·基础知识 XST攻击理论及手法讲解
·威胁同样巨大 基于Telnet协议的攻

推荐文章

·请教看电影多的人问题
·文字处理软件疑难问题求助,
·求助:Excel问题
·在线等...........
·大家都是怎样用摄像头的?发
·如何加启动程序?急
·midia player classic使用时
·关于IE,请大家帮助
·IE被改用兔子也没用啊??
·播放器问题,大家帮帮忙啊

 这两天做了一个实时的时钟~ 发上来和大家分享一下!
点击浏览该文件
点击浏览该文件

newDate = new Date();
newDate.month = newDate.getMonth()+1;
DateTextField =
newDate.getFullYear()+"-"+ newDate.month +"-"+ newDate.getDate();
now_hours = newDate.getHours();
if(length(now_hours)<2){
 now_hours = "0" + now_hours;
}
now_minutes = newDate.getMinutes();
if(length(now_minutes)<2){
 now_minutes = "0" + now_minutes;
}
now_seconds = newDate.getSeconds();
if(length(now_seconds)<2){
 now_seconds = "0" + now_seconds;
}
TimeTextField =
now_hours +":"+ now_minutes +":"+ now_seconds;
_root.second._rotation = newDate.getSeconds()*6; 
_root.minute._rotation = newDate.getMinutes()*6 + newDate.getSeconds()*(1/10);;
_root.hour._rotation = newDate.getHours()*30 + newDate.getMinutes()*(1/2);

原文件传上来,想要学的朋友可以下栽去看看
点击浏览该文件

相关文章:

对"AS创作-实时时钟"发表评论:

热门Flash 最新Flash 热门小说 最新小说

 

Copyright@2005-2006 精品Flash www.WooGood.com All Right Reserved

联系信箱: gold1686tom.com