MainForm

User interface holding all other UI views.  Handles background and logo painting and resize events.

Summary
MainFormUser interface holding all other UI views.
Functions
initializeBackgroundPaints the application background and logo with about box tooltip.
initializeUserInterfaceInitializes main tabs, sub-views and dialog boxes for the application.
disposeDisposes of application view resources.
resizeHandles a resize event.
showGenerateFormDisplays the script edit dialogbox

Functions

initializeBackground

public function initializeBackground(app: Sprite,
defaultColor: uint):void

Paints the application background and logo with about box tooltip.

Parameters

appmain application sprite
defaultColorbase theme color for the application

initializeUserInterface

public function initializeUserInterface(defaultColor: uint):void

Initializes main tabs, sub-views and dialog boxes for the application.

Parameters

defaultColorbase theme color for the application

dispose

public function dispose():void

Disposes of application view resources.

resize

public function resize():void

Handles a resize event.  It redraws the background and repositions the main application elements.  The resize event is forwarded to views that require further processing.

showGenerateForm

public function showGenerateForm():void

Displays the script edit dialogbox

public function initializeBackground(app: Sprite,
defaultColor: uint):void
Paints the application background and logo with about box tooltip.
public function initializeUserInterface(defaultColor: uint):void
Initializes main tabs, sub-views and dialog boxes for the application.
public function dispose():void
Disposes of application view resources.
public function resize():void
Handles a resize event.
public function showGenerateForm():void
Displays the script edit dialogbox
Close