function GetDay (n:Number):String{
var d:Date=new Date();
switch(d.day){
case 0:
trace("星期日");
break;
case 1:
trace("星期一");
break;
case 2:
trace("星期二");
break;
case 3:
trace("星期三");
break;
case 4:
trace("星期四");
break;
case 5:
trace("星期五");
break;
case 6:
trace("星期六");
break;
}
trace(GetDay (n:1):String);
}
/*我寫的代碼出錯,求大神指導,急急急!*/
http://www.111cn.net/flash_a/As3/62010.htm