Copy link to clipboard
Copied
Hi. I am making a flash project by using Adobe Flash CS6 and AS3. I insert background sound in every scene. However, I had put one command for the bg sound to stop in every scene. But the problem is when user return back to the previous page, the sound doesnt play. Anyone know how to make the background sound replaying when user return without any on/off button etc? Thanks in advance!
var mySound:Sound = new Sound();
mySound.load(new URLRequest("sound.mp3"));
mySound.play();
Copy link to clipboard
Copied
var mySound:Sound = new Sound();
mySound.load(new URLRequest("sound.mp3"));
mySound.play();
Copy link to clipboard
Copied
Thank you for your help!
Copy link to clipboard
Copied
You're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now