On 9/2/07, eka <[EMAIL PROTECTED]> wrote: > Hello :) > > Yes an Array can be better :) But in my experience i prefere use the native > flash.utils.Dictionnary class or a custom HashMap implementation based on > the Java Collections like it :
Good point. But if you really just need to index something by integers, array is probably all you need. (Not that those aren't excellent solutions in other cases, like if you need to index by something more complex than integers: strings, other objects, etc.) > http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/vegas/data/map/HashMap.as > http://vegas.ekameleon.net/docs/vegas/data/map/HashMap.html > > PS : You can use my AS3 opensource abstract data type (ADT) library in the > vegas.data.* package : http://code.google.com/p/vegas/ Looks pretty cool! -- Mike Keesey _______________________________________________ [email protected] 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

