A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: multidimensional array help...data readin error.

Threaded View

  1. #1
    Senior Member
    Join Date
    Apr 2009
    Posts
    117

    multidimensional array help...data readin error.

    its a multidimensional array
    i can't seem to get the data out of the array correctly it displays undefinedon trace ....below is my code

    Code:
    small = new Array(2);
    small[0] = new Array(3);
    small[0][0] = new Array(3);
    
    small[0][0][0] = ["test"]
    trace(small[0][0][0]);
    Last edited by glassfairy; 01-17-2013 at 11:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center