音画初级
威望
金币
回帖0
主题
阅读权限10
注册时间2010-3-24
|
本帖最后由 石灰石 于 2010-3-24 21:28 编辑
如果是xml lrc歌词,代码嵌入,就不用弄成这样,2.3MB,还要是压缩过的swf影片,失真!

-----------------------------------------------------------------
右键还在挂广告!论坛不能挂广告的!!!
function dj_menu0()
{
getURL("http://flashline.cn", "_blank");
} // End of the function
function dj_menu1()
{
getURL("http://flashline.cn", "_blank");
} // End of the function
function dj_menu2()
{
getURL("http://www.shejiweb.com", "_blank");
} // End of the function
function dj_menu3()
{
getURL("http://www.taokeline.com", "_blank");
} // End of the function
右键菜单 = new ContextMenu();
eval("右键菜单").hideBuiltInItems();
eval("右键菜单").customItems.push(new ContextMenuItem("中国flash在线:http://flashline.cn", dj_menu0, false));
eval("右键菜单").customItems.push(new ContextMenuItem("国内最大的透明flash素材网", dj_menu1, false));
eval("右键菜单").customItems.push(new ContextMenuItem("网站建设;网站推广;flash制作", dj_menu2, false));
eval("右键菜单").customItems.push(new ContextMenuItem("淘宝购物,淘客推广", dj_menu3, false));
_root.menu = eval("右键菜单");
----------------------------------------------------------------------------
时钟网络上的代码,粘贴过来一切OK~~
mydate = new Date();
seconds = mydate.getSeconds();
minutes = mydate.getMinutes();
hours = mydate.getHours();
day = mydate.getDay();
date = mydate.getDate();
month = mydate.getMonth();
year = mydate.getFullYear();
if (day == 0)
{
day = "星期日";
}
else if (day == 1)
{
day = "星期一";
}
else if (day == 2)
{
day = "星期二";
}
else if (day == 3)
{
day = "星期三";
}
else if (day == 4)
{
day = "星期四";
}
else if (day == 5)
{
day = "星期五";
}
else if (day == 6)
{
day = "星期六";
} // end else if
if (month == 0)
{
month = "1";
}
else if (month == 1)
{
month = "2";
}
else if (month == 2)
{
month = "3";
}
else if (month == 3)
{
month = "4";
}
else if (month == 4)
{
month = "5";
}
else if (month == 5)
{
month = "6";
}
else if (month == 6)
{
month = "7";
}
else if (month == 7)
{
month = "8";
}
else if (month == 8)
{
month = "9";
}
else if (month == 9)
{
month = "10";
}
else if (month == 10)
{
month = "11";
}
else if (month == 11)
{
month = "12";
} // end else if
time = hours + ":" + minutes + ":" + seconds;
datefinal = year + "年" + month + "月" + date + "日" + day; |
|