protected var _foo:String; [Bindable( "fooChanged" )] public function get foo():String { return _foo; } public function setFoo( foo:String ):void { _foo = foo; dispatchEvent( new Event( "fooChanged" ) ); }