第1帧代码:
time = new Date();
Day = Array("日", "一", "二", "三", "四", "五", "六");
hour = time.getHours();
minute = time.getMinutes();
second = time.getSeconds();
milli = int(time.getMilliseconds() / 10);
if (minute < 10)
{
minute = "0" + minute;
} // end if
if (second < 10)
{
second = "0" + second;
} // end if
if (milli < 10)
{
milli = "0" + milli;
} // end if
if (hour < 12)
{
half = "上午";
}
else
{
half = "下午";
} // end else if
yeahtext = time.getFullYear();
daytext = time.getMonth() + 1 + "月 " + time.getDate() + " 日";
weektext = "星期 " + Day[time.getDay()];
timetext = hour + ":" + minute + ":" + second;
now = new Date();
clSeconds = now.getSeconds();
setProperty("se", _rotation, clSeconds * 6);
now = new Date();
clMinutes = now.getMinutes();
setProperty("mn", _rotation, clMinutes * 6);
now = new Date();
clHours = now.getHours();
clsm = clMinutes / 60;
setProperty("ho", _rotation, (clHours + clsm) * 30);
第2帧代码:
gotoAndPlay(1);
gotoAndPlay(1);
gotoAndPlay(1);
gotoAndPlay(1);
<P align=center><EMBED src=http://xfsh620627.16789.net/domName/xfsh620627/200862023553527.swf width=400 height=400 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never"> </P>
<P align=center><EMBED src=http://xfsh620627.16789.net/domName/xfsh620627/200862014946215.swf width=550 height=650 type=application/x-shockwave-flash allowScriptAccess="never" allowNetworking="internal"> </P>
评论