Skip to content

Instantly share code, notes, and snippets.

@shi11
Created July 26, 2011 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shi11/1105883 to your computer and use it in GitHub Desktop.
Save shi11/1105883 to your computer and use it in GitHub Desktop.
mapping view interfaces
//in context
mediatorMap.mapView( MyView1, MyMediator, IView);
mediatorMap.mapView( MyView2, MyMediator, IView);
//in MyMediator
[Inject]
public var IView;
override public function onRegister() : void {
view.mySignal.add( handleSignal );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment