Remove duplicates in Array?

Here’s an array…

ActionScript Code:
[LEFT][COLOR=#000000]var[/COLOR] a:[COLOR=#0000ff]Array[/COLOR] = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]Array[/COLOR]COLOR=#000000[/COLOR];
[/LEFT]

What I’d like to do is remove any duplicates from the array, so I get…

ActionScript Code:
[LEFT][COLOR=#ff0000]“Alf”[/COLOR],[COLOR=#ff0000]“Bill”[/COLOR],[COLOR=#ff0000]“Cal”[/COLOR],[COLOR=#ff0000]“Dan”[/COLOR],[COLOR=#ff0000]“Ed”[/COLOR]
[/LEFT]

I’m sure there’s an elementary solution, but I’m stuck. Any help would be greatly appreciated.