![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
【读书笔记】AS3 CookBook
文章平均质量分 66
louisluo_77
这个作者很懒,什么都没留下…
展开
-
page 12 MouseEvent
//生成的_sprite里进行鼠标绘画package{ import flash.display.Sprite; import flash.events.MouseEvent; //设置舞台的尺寸,帧频 //[SWF(width = "500", height = "400", backgroundColor = "0xd4ded4", frameRate = "24")]转载 2012-05-11 13:20:18 · 442 阅读 · 0 评论 -
page 31 TimerEvent.TIMER
//生成两个sprite对象,使之在x和y轴上同时运动package{ import flash.display.Sprite; import flash.events.Event; import flash.events.TimerEvent; import flash.utils.Timer; /** * ... * @author */ public clas转载 2012-05-11 15:21:33 · 358 阅读 · 0 评论 -
page 13 KeyBoardEvent
//按键盘返回键控代码package{ import flash.display.Sprite; import flash.events.KeyboardEvent; public class Main extends Sprite { public function Main() { stage.focus = this; addEventListene转载 2012-05-11 13:22:02 · 289 阅读 · 0 评论 -
page 30 repeating a task over time
package{ import flash.display.Sprite; import flash.events.TimerEvent; import flash.utils.getTimer; import flash.utils.Timer; /** * ... * @author */ public class Main extends Sprite {转载 2012-05-11 14:55:16 · 587 阅读 · 0 评论