I made actionscript to draw a stack of chips with three different functions.
function blu() {
var chipcount = 0;
for (var j = 0; j<color[1]; j++) {
var h = this.attachMovie(“blue_mc”, (“hole_”+i+"_"+j), chipcount++);
h._y = ay+(j*y_off);
h._x = ax + x_off;
}
}
The functions are for the blue, red, and white chips. However when I tell flash to do the functions, only one column is drawn correctly. Also, any tips on making a tripoley, michigan rummy game, or card game in general would be appreciated.
-Blatex24