Hello
Working first time with the Associative arrays, I could not find a way to re-order the array based on its Keys. I used the following code to retrieve the data from the array “arrHues”:
for (var prop: String in arrHues)
{
strCodes += (prop + " = " + arrHues[prop]) + "
";
}
trace (strCodes);
But, the output is un-ordered and hard to compare or locate the items of interest.
Also, is there a way to find the count of elements in this array - without adding a counter inside the for loop.
Any suggestion, please!