11 2012 档案

摘要:1.contains(displayObject),返回布尔值注意这个displayObject,不能是一个没被初始化的,contains(null)是会报错的。2displayObject.stage 阅读全文
posted @ 2012-11-10 14:10 sevenmoons 阅读(164) 评论(0) 推荐(0)
摘要:new Date(毫秒)返回距1970的一个公元纪年,date.getFullYear()date.getMonth()date.getDate()分别返回年月日,要命的是date.getMonth()返回的是0-11,所以用时要+1。 阅读全文
posted @ 2012-11-08 19:47 sevenmoons 阅读(196) 评论(0) 推荐(1)