Created
March 14, 2012 16:37
-
-
Save tdavies/2037708 to your computer and use it in GitHub Desktop.
Flash asset mediator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExampleMediator extends Mediator{ | |
[Inject] | |
public var view:Asset; | |
private var _viewController:ViewController; | |
override public function onRegister():void { | |
_viewController = new ViewController(view); | |
_viewController.setTitle("test"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment