摘要:package { import flash.display.MovieClip; import flash.events.MouseEvent; import flash.events.Event; import flash.ui.Mouse; /* *author : SinSoul *blogs: http://www.cnblogs.com/sinsoul */ public c...
摘要:package { import flash.display.MovieClip; import flash.filters.GlowFilter; import flash.utils.Timer; import flash.events.TimerEvent; [SWF(width="1024",height="768")] /* *author : SinSoul *blogs: ht...
摘要:quedin.addEventListener(MouseEvent.CLICK,add1);function add1(e:MouseEvent):void{k3.text=String(jia(int(k1.text),int(k2.text)));}function jia(a:int,b:int):int{return (a+b);}
摘要:package { import flash.display.MovieClip; import flash.events.MouseEvent; import flash.events.Event; /* *author : SinSoul *blogs: http://www.cnblogs.com/sinsoul */ public class binlian extends MovieC...
摘要:stage.addEventListener(KeyboardEvent.KEY_DOWN,yuan); function yuan(e:KeyboardEvent):void { switch (e.keyCode) { case 37 : //mc.x-=10; x-=10等于下面的式子mc.x=duo_mc.x-10; mc.x=mc.x-10; break; case 38 : //mc...
摘要:package {import flash.display.MovieClip;public class cheng extends MovieClip {public function cheng() {for (var a:int=1; a<10; a++) {var b:String="";for (var c:int=1; c<=a; c++) {b=b+(c+"*"+a+"=...
摘要:package { import flash.display.MovieClip; import flash.events.Event; import flash.events.KeyboardEvent; /* *author : SinSoul *blogs: http://www.cnblogs.com/sinsoul */ public class Main extends Mo...
摘要:package { import flash.display.MovieClip; import flash.events.Event; import flash.display.Shape; /* *author : SinSoul *blogs: http://www.cnblogs.com/sinsoul */ public class bai extends MovieClip ...