Flash AS3 - XMLList - Counting occurances of element in XMLList and showing result.
Posted
by Dale
on Stack Overflow
See other posts from Stack Overflow
or by Dale
Published on 2010-04-11T16:00:01Z
Indexed on
2010/04/11
18:23 UTC
Read the original article
Hit count: 292
I have an XMLList 'Keywords', which consists of about 30 elements. I want to count the number of unique keywords in the List, and how often they occur. Then display the top 3 most occuring keywords.
There's probably a simple sorting/count function to carry this out, however, i'm quite new to as3 so please forgive my naivety.
Cheers.
© Stack Overflow or respective owner