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.
Continue reading ‘Creating a credit card validator in ActionScript’



