Revised Card Name Generator

I’ve tried to gather more info on what I’m trying accomplish here…

Need to create a game in Flash MX 2004 that contains at the most 13 (poker) cards.
When any two cards are selected, a name for this unique pair is generated in a text field. For example, a Jack and a Five is called Motown. Another example, a Five and a Seven is called Heinz.
How would I go about programming this type of game? My skills in actionscript are basic, but I’m always willing to learn.
Thanks for any help you can offer.
Dave