Skip to content

Instantly share code, notes, and snippets.

@darscan
Forked from bclinkinbeard/gist:632620
Created October 28, 2010 23:54
Show Gist options
  • Save darscan/652594 to your computer and use it in GitHub Desktop.
Save darscan/652594 to your computer and use it in GitHub Desktop.
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" ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment