PlayForm

User interface for animation play controls

Summary
PlayFormUser interface for animation play controls
Functions
InitializeComponentInitializes the user interface components on the form.
resizeHandles a resize event by repositioning the UI widgets.
updatePlayControlsUpdates the PlayForm’s timeline and the visibility of the play widgets.

Functions

InitializeComponent

public function InitializeComponent(app: Sprite,
page: Sprite,
tooltips: Tooltips,
defaultColor: uint,
tabColor: uint):void

Initializes the user interface components on the form.

resize

public function resize():void

Handles a resize event by repositioning the UI widgets.

updatePlayControls

public function updatePlayControls(timeline: TimelineEx,
state: Boolean):void

Updates the PlayForm’s timeline and the visibility of the play widgets.

Parameters

timelineUpdated TimelineEx object
stateTrue to show the play controls, false otherwise
public function InitializeComponent(app: Sprite,
page: Sprite,
tooltips: Tooltips,
defaultColor: uint,
tabColor: uint):void
Initializes the user interface components on the form.
public function resize():void
Handles a resize event by repositioning the UI widgets.
public function updatePlayControls(timeline: TimelineEx,
state: Boolean):void
Updates the PlayForm’s timeline and the visibility of the play widgets.
User interface for animation play controls
Extends the Timeline class with methods to get and remove tweens and dispose of the whole timeline.
Close