Handles main flow of information between UI views and datamodel.
Controller | Handles main flow of information between UI views and datamodel. |
Functions | |
Controller | Controller constructor, paints the application background. |
initialize | Initialize application data model and user interface views. |
dispose | Dispose of all resources used or referenced in the instance. |
resize | Forward a stage resize event to views and the model for masking. |
loadScript | Load a script from an external source. |
Controller constructor, paints the application background.
public function Controller( app: Sprite )
Initialize application data model and user interface views.
public function initialize( app: Sprite ):void
Dispose of all resources used or referenced in the instance.
public function dispose():void
Forward a stage resize event to views and the model for masking.
public function resize():void
Load a script from an external source.
public function loadScript( script: String ):void