var n:int=int(iconIndex/3);
e.x =(int(n/3)*3+iconIndex%3)*557;
e.y = int(iconIndex / 3) % 3 * 260;
iconIndex++;
var n:int = int(nowLoadingIcon / 2);
icon.x =(int(n/5)*2+nowLoadingIcon%2)*iconDistanceWidth;
icon.y = n % 5 * iconDistanceHeight;
icon.alpha = overAlpha;
var totla:uint = 10; //行 var row:uint=5; //列 var col:uint=4; var iconDistanceWidth:uint=60; var iconDistanceHeight:uint=60; for (var nowLoadingIcon:uint=0; nowLoadingIcon<totla; nowLoadingIcon++) { var icon=new ab(); var n:int = int(nowLoadingIcon / col); icon.x =(int(n/row)*col+nowLoadingIcon%col)*iconDistanceWidth; icon.y = n % row * iconDistanceHeight; this.addChild(icon); }