Adobe Animate (AS3) Help needed!

Hello how’s everyone doing?

I’m having some issues with sound/music integration using Adobe Animate. My client sent me some .swf/.fla files that are levels/scenarios to implement background music for his game.

I achieved to integrate it but the song keeps repeating on an on over itself in an eternal loop. Also, when you leave the level and load another one (different scene/file) it keeps playing.

I need to integrate the song into the scene (1 swf/fla file) and to make it loop when the player is on that level. Also need to make the music stop when the player leaves the level and enter on another (I saw some people recommending using EventListener but there’s no click on this, I need to stop when it loads another scene/different file on the game).

Thanks for taking the time to read and any advice or tutorial would be REALLY helpful 🥲🥲❤️