@Jason,

Can you give an example, of such a multidimensional array, and how to do
this with value objects?

Regards
Cor

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Merrill,
Jason
Sent: vrijdag 3 september 2010 21:52
To: Flash Coders List
Subject: RE: [Flashcoders] parsing multi-dimensional array

IMO, you should be using arrays of value objects (which are classes that
just hold data) which have values and if necessary, arrays of other
value objects.  Not multidimensional arrays - you're just making it
harder on yourself.


Jason Merrill 

Instructional Technology Architect
Bank of America   Global Learning 

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(Note: these resources are only available for Bank of America
associates)






-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lehr,
Theodore
Sent: Friday, September 03, 2010 3:36 PM
To: Flash Coders List
Subject: [Flashcoders] parsing multi-dimensional array

so if I have a multi-dimensional array - how could I break them into
their own array? So if I have:

arr[0] = ["red",0,0];
arr[1] = ["red",1,0];
arr[2] = ["red",2,0];
arr[3] = ["blue",0,0];
arr[4] = ["blue",1,0];
arr[5] = ["blue",2,0];

What I need to do is break red into it's own array and blue into it's
own array - and there could be any number of colors....

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Interne Virusdatabase is verouderd.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.851 / Virusdatabase: 271.1.1/3099 - datum van uitgifte: 08/28/10
08:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to