A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Two dimensional array? -> myArray[0][0]

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    Hey,

    Does anyone know how to create a two dimensional array with flash??

    Thanks in advance,

    Sander

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141

  3. #3
    Hi,


    Index = new Array();
    Index[0] = new Array();
    Index[1] = new Array();
    etc.....

    Now you can approach/call the like this:
    Index[0][0] = 1;
    Index[0][1] = 2;
    Index[1][1] = "HI";

    Cheers



  4. #4
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    God bless both of you!

    Zander

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