Mega Code Archive
Data Binding Through the ActionScript BindingUtils Class
import mx.binding.utils.BindingUtils;
private function initComp():void
{
BindingUtils.bindProperty(contacts, "name.first",firstNameInput, "text");
BindingUtils.bindProperty(contacts, "name.last",lastNameInput, "text");
BindingUtils.bindProperty(firstName, "text",contacts, "name.first");
BindingUtils.bindProperty(lastName, "text", contacts,"name.last");
}