Yep, just like you have

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of quasimotoca
Sent: Friday, April 07, 2006 12:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2-Beta2 Two Dimensional Binary Arrays

Hi Matt:
Thanks.  How would I access the resulting 2D array (say in a nested 
loop)?  Would it be something like: outer[i][j] ?
Cheers,
Dave

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> 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: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of quasimotoca
> Sent: Wednesday, April 05, 2006 8:32 PM
> To: flexcoders@yahoogroups.com
> 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



 





--
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