Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Background music independent of frame animation.

New Here ,
Aug 05, 2018 Aug 05, 2018

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?

2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Aug 06, 2018 Aug 06, 2018

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

...
Translate
Community Expert ,
Aug 05, 2018 Aug 05, 2018

with an as3 project, use actionscript to play your sound, or assign the sound's sync property to stream, not event.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 06, 2018 Aug 06, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 20, 2022 May 20, 2022

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 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2022 May 20, 2022
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 06, 2018 Aug 06, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines