/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var row:Number; var col:Number; for (var i:int = 0; i < dog; i++) { row = Math.floor(i / 3); col = i - 3 * row; Debug.log("row = "+row); Debug.log("col = "+col); }
You need to login to post a comment.
