On Oct 31, 2005, at 9:24 AM, Gregory wrote:


You must create empty arrays first, like this:

// bidimensional array in AS
var matrix2:Array = [];
for(i=0;i<3;i++){
        matrix2[i] = [];
        for(j=0;j<3;j++){
            matrix2[i][j]=0;
        }
}
trace(matrix2);


Yea, I'm a dufus. I think I was in AS3 mode when i posted that - then again, I didn't test it either...

i'll be quiet now. :)

Jon

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to