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

Audio question

New Here ,
Dec 29, 2016 Dec 29, 2016

When I pause my animation the audio stops and I have to restart the entire thing. Help?

341
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

Community Expert , Dec 30, 2016 Dec 30, 2016

i don't think you can do much about that.  the sound will continue to play when testing even when the timeline stops.  be careful to not reenter the frame where the sound starts while the sound is still playing.  actually, it's not a great idea to use sound attached to a timeline unless you need to sync the sound to animation.

Translate
Community Expert ,
Dec 29, 2016 Dec 29, 2016

if you're attaching your sound to a frame, use event (not stream) if you want the sound to continue to play once it starts.

otherwise, canvas or actionscript?

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
New Here ,
Dec 29, 2016 Dec 29, 2016

It's on event, but when I pause it, I have to set it at the beginning of they keyframe to get it to play again.

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 ,
Dec 30, 2016 Dec 30, 2016

your sound stops when you execute a stop() on your timeline?

if so, attach a screenshot of your frame 1's properties panel that shows your sound is attached and its sync property is '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
New Here ,
Dec 30, 2016 Dec 30, 2016

egh.png

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 ,
Dec 30, 2016 Dec 30, 2016

that looks correct.

now are you stopping your timeline in the ide or when testing (by using a stop(), eg)?

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
New Here ,
Dec 30, 2016 Dec 30, 2016

Yeh, I press the pause button to add something and when I unpause it to see if it's correct it stops.

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 ,
Dec 30, 2016 Dec 30, 2016
LATEST

i don't think you can do much about that.  the sound will continue to play when testing even when the timeline stops.  be careful to not reenter the frame where the sound starts while the sound is still playing.  actually, it's not a great idea to use sound attached to a timeline unless you need to sync the sound to animation.

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