GenerateForm |
User interface for display, import and editing of generated script code.
GenerateForm | User interface for display, import and editing of generated script code. |
Functions and Properties | |
GenerateForm | Form constructor |
ShowDialog | Displays the dialog box ensuring the displayed script is up-to-date. |
InitializeComponent | Initializes the user interface components on the form. |
codeStyle | Returns a dynamic object with code style properties. |
updateFromScript | Change the shown text to the new script. |
public function ShowDialog( parent: Sprite, closeHandler: Function = null ):void
Displays the dialog box ensuring the displayed script is up-to-date.
parent | display object to use as a parent for the dialog box |
closeHandler | callback called when the dialog is closed, see DialogBox.closeHandler |
Form constructor
public function GenerateForm()
Displays the dialog box ensuring the displayed script is up-to-date.
public function ShowDialog( parent: Sprite, closeHandler: Function = null ):void
Initializes the user interface components on the form.
public function InitializeComponent():void
Returns a dynamic object with code style properties.
public function get codeStyle():Object
Change the shown text to the new script.
public function updateFromScript( script: String ):void
Callback function called when the dialog is closed.
public var closeHandler: Function