Flex ActionScript: Remove duplicates from an Array July 06, 2011 public static function removeDups(array:Array):void{ array.filter(function(element:*, index:int, arr:Array):Boolean { return arr.indexOf(element) == index; }); } Read more