xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
[Bindable]
public var ccObj:Object = {cardType:String, cardNumber:String};
public function valCC():void
{
// Populate ccObj with the data from the form.
ccObj.cardType = cardTypeCombo.selectedItem.data;
ccObj.cardNumber = cardNumberInput.text;
// Validate ccObj.
ccV.validate();
}
property="ccObj" listener="{cardNumberInput}" />