private var _firstName:String;
public static const FIRST_NAME_CHANGED:String = "firstNameChanged";
private function clickHandler():void
{
firstName = fnInput.text;
}
[Bindable(event="firstNameChanged")]
public function get firstName():String
{
return _firstName;
}
public function set firstName( str:String ):void
{
_firstName = str;
dispatchEvent( new Event( FIRST_NAME_CHANGED ) );
}