var window01 = new JitterObject("jit.window");
window01.rect = [200, 200,216, 216];
window01.border = 0;
window01.name = "window01";
var bwMatrix = new JitterMatrix( 1, "char", 16, 16 );
var column = getRandom(16);
var row = getRandom(16);
bwMatrix.setcell(column, row, "val", 255);
messnamed("window01", "jit_matrix", bwMatrix.name );
function getRandom( max )
return Math.floor( Math.random() * max );
getRandom.local = 1;
Do I need to make the window01 a Max "global receive" object?
Thanks in advance.
Never mind. I discovered a more-direct way to accomplish what I want to do. I just need to send the movie object a jit_matrix message directly by invoking the object’s jit_matrix() method.
Sorry for generating forum noise!
C74 RSS Feed | © Copyright Cycling '74