上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: package{importflash.display.Sprite;importorg.osmf.net.dynamicstreaming.INetStreamMetrics;publicclassMainextendsSprite{varstartDeck:Array=newArray();varshuffledDeck:Array=newArray();publicfunctionMain():void{init();}privatefunctioninit():void{for(varcardNum:int=0;cardNum<52;cardNum++){startDeck.pu 阅读全文
posted @ 2012-07-05 14:41 王翔(kingfly) 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 0-9之间随机varrandom1:Number=Math.floor(Math.random()*10);1-10之间随机varrandom1:Number=Math.floor(Math.random()*10)+1; 阅读全文
posted @ 2012-07-05 14:28 王翔(kingfly) 阅读(384) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.MovieClip;importflash.display.Sprite;importflash.events.Event;importflash.events.ProgressEvent;importflash.net.URLLoader;importflash.net.URLRequest;importflash.text.TextField;publicclassMainextendsSprite{varxmlUrl:URLRequest=newURLRequest("http://cidian.youdao.com/do 阅读全文
posted @ 2012-07-05 13:29 王翔(kingfly) 阅读(890) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.Event;importflash.ui.Mouse;publicclassMainextendsSprite{vararr:arrow=newarrow(); //自己做的鼠标小箭头(影片剪辑MC)publicfunctionMain():void{init();}privatefunctioninit():void{Mouse.hide();stage.addEventListener(Event.ENTER_FRAME,aa);arr.mouseEnabled=false; ... 阅读全文
posted @ 2012-07-04 15:26 王翔(kingfly) 阅读(1701) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.Event;importflash.net.SharedObject;importflash.net.URLLoader;importflash.net.URLRequest;publicclassMainextendsSprite{publicfunctionMain():void{init();}privatefunctioninit():void{//返回本地永久保存的共享对象varmyLocalData:SharedObject=SharedObject.getLocal(&qu 阅读全文
posted @ 2012-07-04 15:01 王翔(kingfly) 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: <LoadingData><question><text>XML!!</text><answers><answertype="correct">correct!!correct!!</answer><answertype="wrong">wrong!!!!wrong!!!!</answer></answers></question></LoadingData>package{importflash.display 阅读全文
posted @ 2012-07-04 11:51 王翔(kingfly) 阅读(2858) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.Event;importflash.events.KeyboardEvent;importflash.events.TimerEvent;importflash.text.TextField;importflash.utils.Timer;importflash.utils.getTimer;publicclassMainextendsSprite{varyueya:crescent=newcrescent();varxingxing:star=newstar();varmessageT 阅读全文
posted @ 2012-07-04 11:21 王翔(kingfly) 阅读(2693) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.Event;importflash.events.KeyboardEvent;importflash.events.TimerEvent;importflash.utils.Timer;importflash.utils.getTimer;publicclassMainextendsSprite{varmascot:Bo=newBo();varleftArrow:Boolean=false;varrightArrow:Boolean=false;varupArrow:Boolean=fa 阅读全文
posted @ 2012-07-04 10:27 王翔(kingfly) 阅读(547) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.Event;importflash.events.KeyboardEvent;importflash.events.TimerEvent;importflash.utils.Timer;importflash.utils.getTimer;publicclassMainextendsSprite{varmascot:Bo=newBo();varleftArrow:Boolean=false;varrightArrow:Boolean=false;varupArrow:Boolean=fa 阅读全文
posted @ 2012-07-02 18:03 王翔(kingfly) 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: package{importflash.display.Sprite;importflash.events.KeyboardEvent;importflash.text.TextField;importflash.text.TextFieldType;importflash.text.TextFormat;publicclassMainextendsSprite{varmyinput:TextField;publicfunctionMain():void{init();}privatefunctioninit():void{varinputFormat:TextFormat=newTextFo 阅读全文
posted @ 2012-07-02 14:11 王翔(kingfly) 阅读(318) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页