You would have an Array instance where each object in the index is
another Array.

var outer:Array = new Array();
for (var i:int=0; i < 10; i++)
{
  outer[i] = new Array();
}

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of quasimotoca
Sent: Wednesday, April 05, 2006 8:32 PM
To: [email protected]
Subject: [flexcoders] Flex2-Beta2 Two Dimensional Binary Arrays

Hi:
I'm doing a small conversion from Java and I'm trying to convert Java 
two dimensional arrays to AS3.  Basically any type: int[][], String[]
[], byte[][] etc...

How do I implement 2D arrays in AS3?

Cheers,
Dave Cook





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to