狭路英豪 电影:四、FLASH课件工具面板积件制作(2)----获取系统日期 - Qzone日志
来源:百度文库 编辑:中财网 时间:2024/04/20 18:00:36
1、新建一个“riqi”影片剪辑
2、在“riqi”影片剪辑第一帧创建一个动态文本框,变量为“myriqi”
3、在“riqi”影片剪辑新建一帧,打开动作面板写入下面代码:
newDate = new Date();
myriqi = newDate.getFullYear() + "年" + (newDate.getMonth() + 1) + "月" + newDate.getDate() + "日";
onEnterFrame = function ()
{
newDate = new Date();
if (newDate.getHours() < 10)
{
xs = "0" + newDate.getHours();
}
else
{
xs = newDate.getHours();
} // end if
if (newDate.getMinutes() < 10)
{
fz = "0" + newDate.getMinutes();
}
else
{
fz = newDate.getMinutes();
} // end if
if (newDate.getSeconds() < 10)
{
ms = "0" + newDate.getSeconds();
}
else
{
ms = newDate.getSeconds();
} // end if
DateTextField = xs + ":" + fz + ":" + ms;
};
4、把“riqi”影片剪辑放到主场景中,ctrl+enter测试。
2、在“riqi”影片剪辑第一帧创建一个动态文本框,变量为“myriqi”
3、在“riqi”影片剪辑新建一帧,打开动作面板写入下面代码:
newDate = new Date();
myriqi = newDate.getFullYear() + "年" + (newDate.getMonth() + 1) + "月" + newDate.getDate() + "日";
onEnterFrame = function ()
{
newDate = new Date();
if (newDate.getHours() < 10)
{
xs = "0" + newDate.getHours();
}
else
{
xs = newDate.getHours();
} // end if
if (newDate.getMinutes() < 10)
{
fz = "0" + newDate.getMinutes();
}
else
{
fz = newDate.getMinutes();
} // end if
if (newDate.getSeconds() < 10)
{
ms = "0" + newDate.getSeconds();
}
else
{
ms = newDate.getSeconds();
} // end if
DateTextField = xs + ":" + fz + ":" + ms;
};
4、把“riqi”影片剪辑放到主场景中,ctrl+enter测试。
用flash制作课件
flash课件制作怎么报价?
flash课件制作怎么学?
家长会flash课件的制作
flash制作工具
制作flash的工具
什么工具制作课件好用?帮帮忙!
高校课件制作工具使用什么最好
谁知道SPEEDMT这个课件制作工具?
flash 动画和制作课件有关吗
如何用flash MX制作课件
怎样制作电脑课件,好象是Flash
制作课件可以用flash吗?
怎样才能学会用flash制作课件
flash课件制作方面的论文
SOS:flash课件制作的教程
Flash制作工具免费下载
求flash特效制作工具!!!!
制作FLASH音效的工具
制作FLASH的工具!问题!
制作flash的是什么工具?
关于flash按扭制作:动作面板
请问谁能介绍一个好的课件制作工具?
flash 制作工具有哪些啊?