Try
myMap.push(a);
myMap.push(b);
myMap.push(c);
I'm not sure if you really mean:
myMap.push("A");
myMap.push("B");
myMap.push("C");
Don't be afraid to use the flex help!
Paul
----- Original Message -----
From: "annouss79" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, February 23, 2008 10:06 PM
Subject: [flexcoders] array.length
>i need help with array in flex , anyone can help me ?
>
> var myMap:Array = new Array();
> myMap["A"] = a;
> myMap["B"] = b;
> myMap["C"] = c;
> Alert.show(myMap.length.toString(),"length info")
>
> i got 0 as length , what's wrong ?
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>