Hello :)

in vegas you can use vegas.data.map.ArrayMap class (AS3 library) ... this
ArrayMap is a HashMap with two arrays to store the keys and the values...

http://svn.riaforge.org/vegas/AS3/trunk/src/vegas/data/map/ArrayMap.as

The HashMap class in the AS2 version of VEGAS is the same class like the AS3
version.

In AS3 version of the vegas.data.map package the ArrayMap class replace the
AS2 HashMap class ;)

If you want use a ArrayMap with a value with multiple values... (the value
is a collection) you can use the MultiHashMap class (based on the Java
Jakarta implementation) :

http://svn.riaforge.org/vegas/AS3/trunk/src/vegas/data/map/MultiHashMap.as

For the moment i use a HashMap in the MultiHashMap but you can extends this
class and use a ArrayMap.

The AS3 version of vegas is in progress... i want finish the AS2 version
before.

.... i write in AS2 for the moment a TreeMap implementation of the TreeMap
java class but this work is in progress... when the AS2 version will be
finished, i think write the AS3 and SSAS version....

If you read the source code of my ArrayMap class .. you can extend the
methods and sort the values

EKA+ :)

2007/3/1, Davor Bauk <[EMAIL PROTECTED]>:

Hello,

I'm looking for a structure for AS3 that can store values in a way that
they are sortable (like in an array) as well as accessible by key of any
type (such as a string).
I've looked through the VEGAS (http://vegas.riaforge.org/) framework but
I couldn't find what I'm looking for.

Can anyone recommend such a structure?

thanks,
Davor
_______________________________________________
[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

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

Reply via email to