NF.anim.player
(
playObject
,
frameDelay
,
loop
)
- Parameters:
-
playObject <object>[timeline | clip | clip Array] A timeline (NF.anim.timeline), clip (NF.anim.clip), or Array of clips. Clips are automatically converted to timelines. Arrays of clips are converted to a timeline with a single track containing all the clips which are played sequentially. -
frameDelay <int>Optional - The time (in milliseconds) to delay between frames. Default: 15. -
loop <string | int>Optional - The number of times to loop the timeline when playing. Pass an int or "infinite".