Actionscript: Outputting a grid using only one for-loop
Sometime this winter a friend of mine (Knut Urdalen) introduced me to a part of mathematics called modular arithmetic. Now that is a nifty little thing. In modular arithmetic, or modulus if you like, numbers reset themselves when reaching a given limit. Modulus is also known as "clock arithmetic", and the ...Posted in AS3, flash, flex, math
Tags: actionscript, AS3, column, flash, flex, grid, loop, math, modulo, modulus, row
Tags: actionscript, AS3, column, flash, flex, grid, loop, math, modulo, modulus, row