import mx.binding.utils.ChangeWatcher;
import mx.binding.utils.BindingUtils;
private var myChangeWatcher:ChangeWatcher;
private function initHandler():void
{
myChangeWatcher = BindingUtils.bindProperty( nameField, "text", nameInput, "text" );
}
private function clickHandler():void
{
if( myChangeWatcher.isWatching() )
{
myChangeWatcher.unwatch();
btn.label = "watch";
}
else
{
myChangeWatcher.reset( nameInput );
btn.label = "unwatch";
}
}