It's strange. I simply put in the array data as part of the Points array declaration. In the Application complete procedure, I checked: var uintL:uint; uintL=Points.length; The debug trace got 0. Finally found s/g in Adobe kb for Flash. Points.length will return the number of "columns" and Points[0].length will return number of columns. My actual array was 15 across by 79 high. For whatever reason, I dorked with some other stuff not related to the array declaration and behold! Points.length and Points[0].length return the correct values. The () were just a stab; I tried it several ways. Who knows?
Bruce H. Johnson Sylmar, CA _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of leds usop Sent: Thursday, March 08, 2007 6:42 PM To: [email protected] Subject: Re: [flexcoders] ActionScript:: Determining Array Length in Multidemensional Arrays i dont know if this is really the cause of your problem, but for determining length of arrays, you use .length property .. not .length() method. If that was just typo error, can you elaborate why from the given example you 'know' you have two rows and columns? How are the data related to each other? --- "Bruce H. Johnson" <HYPERLINK "mailto:bhjohnson%40verizon.net"[EMAIL PROTECTED]> wrote: > I've got a statically-populate-d array Points. > > ["Bill", 10, 17], > ["Joe", 5, 6] > > So, I "know" I've got two rows and two columns. > > Points.length(-) gives 0. How do I coherce it into > returning the number > of rows (might be unknown since I'll be building new > arrays from it) as > well as the number of rows? > > ____________-_________-_________-_________-_________-_________-_ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. HYPERLINK "http://games.yahoo.com/games/front"http://games.-yahoo.com/-games/front -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 3/8/2007 10:58 AM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 3/8/2007 10:58 AM

