import mx.controls.Alert;
{cardTypeCombo.selectedItem.data}
{creditCardInput.text}
cardTypeSource="{creditcard}"
cardTypeProperty="cardType"
cardNumberSource="{creditcard}"
cardNumberProperty="cardNumber"
cardTypeListener="{cardTypeCombo}"
cardNumberListener="{creditCardInput}"
valid="Alert.show('Credit card is valid')" />