Skip to content

anim-format (runtime format) / AnimSoundClip

Interface: AnimSoundClip ​

A sound on a symbol's timeline (from the editor's sound layers).

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
effect?SoundEffectdefault "none"SoundOptions.effect
fade?numberfade length (s) of the fade effects; default 1SoundOptions.fade
framenumberstart frame, global within the symbol (0-based)-
framesnumberframes it covers on the timeline (stream sounds stop after them)-
group?SoundGroupabsent = "effects"; "music" follows the music rules (one at a time)-
layer?stringthe editor layer it came from (informative)-
loops?numberplays this many times; 0 = forever; default 1SoundOptions.loops
soundstringkey into AnimFile.sounds-
sync?"event" | "stream""event" (default): starts when the playhead enters frame, then plays on its own; "stream": plays only while the timeline plays inside its frames, from the matching point-
trimEnd?numberseconds into the audio where it ends; default its endSoundOptions.trimEnd
trimStart?numberseconds cut off the head of the audio; default 0SoundOptions.trimStart
volume?number0..1, default 1SoundOptions.volume

HereSplash — 2D animation for the web