摘要:
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 阅读全文
摘要:
0-9之间随机varrandom1:Number=Math.floor(Math.random()*10);1-10之间随机varrandom1:Number=Math.floor(Math.random()*10)+1; 阅读全文
摘要:
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 阅读全文