FLASH时间变化问题

[复制链接]
查看11 | 回复1 | 2009-7-14 16:51:30 | 显示全部楼层 |阅读模式
请问在FLASH里调用系统时间,并按时间段播放关键帧
比如我想8:00-19:00是停在第一帧 19:00-00:00是停在第二帧 00:00是停在第3帧上
代码要怎么写
尽量详细点 最好有源文件做参考!

回复

使用道具 举报

千问 | 2009-7-14 16:51:30 | 显示全部楼层
time = new Date();hours = time.getHours();minutes = time.getMinutes();//seconds = time.getSeconds();today.gotoAndStop(hours);today.now.gotoAndStop(minutes);function Now() { time = new Date(); hours = time.getHours(); minutes = time.getMinutes(); //seconds = time.getSeconds(); today.gotoAndStop(hours); tod...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行