Copy link to clipboard
Copied
I have 30fps/215 frame animation that goes for about 6 seconds.
What I want to do is add a 7 minute mp3 song that would play its entire length regardless of frame animation and loop once finished.
Is this feasible in Animate CC?
Setting it to stream would accomplish the opposite of what he wants, which is for the sound to run independently of the timeline.
Darius, just put the sound on the timeline and set its frame properties to Sync: Start and Loop. That's for an AS3 document. For a Canvas document Start sync isn't available, so you'll have to use Event, which works just as well, but will cause a new instance of the sound to start playing over the previous instance if the timeline ever loops back to where you start you
...Copy link to clipboard
Copied
with an as3 project, use actionscript to play your sound, or assign the sound's sync property to stream, not event.
Copy link to clipboard
Copied
Setting it to stream would accomplish the opposite of what he wants, which is for the sound to run independently of the timeline.
Darius, just put the sound on the timeline and set its frame properties to Sync: Start and Loop. That's for an AS3 document. For a Canvas document Start sync isn't available, so you'll have to use Event, which works just as well, but will cause a new instance of the sound to start playing over the previous instance if the timeline ever loops back to where you start your sound. So you'll have to make sure that doesn't happen.
Copy link to clipboard
Copied
For me, this did not work. Im using canvas. I have code that stops playhead at the first frame when timeline launches. Music properties is set to event. When using test production, im not hearing any sound. Help appreciated 🙂
Copy link to clipboard
Copied
Hi.
It's because most browsers don't allow sounds to be played without the user interacting with the content first. So, you have to add some button or some other type of interaction for the user to tap/click on your content and then start your animation with music.
Regards,
JC
Copy link to clipboard
Copied
You can add the music to a MovieClip symbol containing enough frames to play the entire thing. Include an instance of this symbol on the stage or pasteboard and it'll just keep repeating.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now