Revision: 58688
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 29, 2012 09:26 by burakkirkil
Initial Code
var nSutun :uint = 5; //Kaç sütun olsun var mKare :MovieClip; var nXspace :uint = 5; //x eksenine göre boşluk var nYspace :uint = 5; //y eksenine göre boşluk function createThumb():void { for (var i:uint = 0; i < nTotal; i++) { mKare = new Kare(); mKare.x = (i % nSutun) * (mKare.width + nXspace); mKare.y = Math.floor(i / nSutun) * (mKare.height + nYspace); addChild(mKare); } } createThumb();
Initial URL
Initial Description
Row Column Logic
Initial Title
Row Column Logic
Initial Tags
Initial Language
ActionScript 3