From the category archives:

CreditCardValidator

A loyal reader asked in a comment how one could go about creating a credit card validator using ActionScript instead of MXML. Peter loves his readers, so behold, my solution…

The following example shows how you can create a credit card validator using the CreditCardValidator and CreditCardValidatorCardType classes.

Full code after the jump.

[click to continue…]

{ 0 comments }