摘要: 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) 编辑