Hi there, Does anyone know if it we are supposed to use multi-dimensional arrays (an array consisting of arrays) within a class? If so, what is the best, legal way to create them? The only way I have managed to do it is by this method: var reactionStoichiometry:Array = new Array ( new Array (1, 3, 2, 0), new Array (1, 2, 1, 0), new Array (2, 1, 2, 0), new Array (2, 0, 1, 3), new Array (2, 0, 2, 1), new Array (1, 0, 1, 1), new Array (1, 1, 2, 0), new Array (1, 1, 2, 0), new Array (1, 1, 1, 1)); Any other ways of creating them give me a compile error saying that they are not allowed within a class. I need to assign these values dynamically, the above ones a for testing, and would prefer to do it by addressing the locations in the main array by position number for inserting the other arrays within it. Classes don't seem to like Objects containing arrays either. Many thanks, Gareth Hudson. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com