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

How to stop audio layer playing in a separate scene?

New Here ,
Sep 04, 2018 Sep 04, 2018

Right- I have a music file dropped into a layer in my first scene. 2 scenes later, I want the music to stop. It would start playing in scene 1 and stop playing in scene 3. Currently the music has these settings:

When I press ctrl+enter, the music continues to play after the animation loops around again, and also starts playing again. So there's like two layers of music.

How do I make the music stop in a separate scene?

TOPICS
ActionScript
238
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
Advisor ,
Sep 05, 2018 Sep 05, 2018

how do you make this music play? NetStream? Sound?

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 ,
Sep 05, 2018 Sep 05, 2018

Well, I'm actually completely new to animate, but I basically imported the

mp3 track to my library, made a new layer in my scene and dragged the music

from my library onto the stage. Hope you can still help

On Wed, 5 Sep 2018, 7:19 PM Robert Mc Dowell <forums_noreply@adobe.com>

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
Advisor ,
Sep 05, 2018 Sep 05, 2018
LATEST

ok so the mp3 must be considered as a Sound object.

Sound - Adobe ActionScript® 3 (AS3 ) API Reference

myMp3Sound.close() should be the right thing for you

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