TweenForm

TweenForm

User interface for timeline tween property selection.

Summary
TweenFormUser interface for timeline tween property selection.
Functions
TweenFormForm constructor.
ShowDialogDisplays the dialog box after updating the UI widgets from the dialogbox interchange data.
InitializeComponentInitializes the user interface components on the form.
isInTransitionReturns true if the transition is an in-type Transitions.
isOutTransitionReturns true if the transition is an out-type Transitions.

Functions

TweenForm

public function TweenForm()

Form constructor.

ShowDialog

public function ShowDialog(parent: Sprite,  
tweenName: String,  
closeHandler: Function = null):void

Displays the dialog box after updating the UI widgets from the dialogbox interchange data.

Parameters

parentdisplay object to use as a parent for the dialog box
tweenNamename identifying the tween being displayed
closeHandlercallback called when the dialog is closed, see DialogBox.closeHandler

InitializeComponent

public function InitializeComponent():void

Initializes the user interface components on the form.

isInTransition

public static function isInTransition(transition: String):Boolean

Returns true if the transition is an in-type Transitions.

isOutTransition

public static function isOutTransition(transition: String):Boolean

Returns true if the transition is an out-type Transitions.

A base class dialog box widget.
public function TweenForm()
Form constructor.
public function ShowDialog(parent: Sprite,  
tweenName: String,  
closeHandler: Function = null):void
Displays the dialog box after updating the UI widgets from the dialogbox interchange data.
public function InitializeComponent():void
Initializes the user interface components on the form.
public static function isInTransition(transition: String):Boolean
Returns true if the transition is an in-type Transitions.
The ‘Transitions’ class contains time-based easing equations.
public static function isOutTransition(transition: String):Boolean
Returns true if the transition is an out-type Transitions.
public var closeHandler: Function
Callback function called when the dialog is closed.
Close