How do I add music to Animate


hej,

i want add music canvas document.

which format should use, bitrate etc.

must placed on timeline , how make play att right speed?

you can attach multiple audio files library

 

 

1. give instance name audio files in library (double click in linkage column in library , give name).

 

 

2. use below code ....

allsounds = ["snd_1","snd_2"]  //  sound linkage name

 

 

// play sounds

 

 

sound_1 = createjs.sound.play(allsounds[0]);

 

 

sound_2 = createjs.sound.play(allsounds[1]);

 

 

// stop sounds

 

 

sound_1.stop();

 

 

sound_2.stop();



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop