NodeFire Library

anim  1.0.6

NodeFire Library > anim > NF.anim.transition
Search:
 
Filters

static Class NF.anim.transition

Manages and plays timeline animations in response to widget events. NF.anim.timeline objects may be directly applied to widget Nodes with this class.

Note: When using the NF.replicator object to clone timelines on widget Nodes it is not necessary to directly access this class. The replicator object will automatically register its timeline clones as transitions.

Properties

supressInteraction - boolean

Stops mouse events from firing on widget nodes during an animation transition.

Methods

applyTimeline

void applyTimeline ( Node , timeline )
Applies a timeline transition to the specified Nodes.
Parameters:
Node <Node | Node Array> The nodes to apply the timeline to.
timeline <object> A timeline or clip object to apply. Clips are automatically converted to timeline objects containing the clip.
Returns: void

removeTimeline

void removeTimeline ( Node , timeline )
Removes a single timeline transition or all timeline transitions from the specified Nodes.
Parameters:
Node <Node | Node Array> The nodes to remove timelines from.
timeline <object> Optional, a specific timeline object to remove. If this paramter is not specified, all timeline transitions are removed from the Nodes.
Returns: void


Copyright © 2011 OpenCube: Inc. All rights reserved.