如何在flash中插入实时钟及日期?

来源:百度知道 编辑:UC知道 时间:2024/06/30 11:10:27

日期比时钟简单很多,
用flash自带函数
hours = time.getHours();
minutes = time.getMinutes();
seconds = time.getSeconds();
dates = time.getDate();
years = time.getFullYear();
day = time.getDay();
month = time.getMonth();
加上格式就可以了;
但时钟会麻烦一些,因为要让时钟时时走动,不过有了具体时间想实现出来也很简单啦