Copy link to clipboard
Copied
Hi,
I am creating a visual novel on flash cs6 Action script 3. I need some help regarding the background music.
I have made a seperate movie clips layer and inserted sound in the movie clip layer. Ive done this so that the music keeps on playing irrespective of the frames im on.
Ive also added a simple gotoandplay command to play the scene from the 1st frame until NEXT button is clicked.
The problem Im having is although one instance of background music is playing irrespective of frame however as soon as the frame, on which goto command is located, is reached; another instance of background music starts and then another and another whenever goto command frames are reached.
How do i keep a single instance of background music to be played.
Any help would be greatly appreciated.
Copy link to clipboard
Copied
The documentation is your friend:
"Select a synchronization option from the Sync pop-up menu:
Start: The same as Event, except that if the sound is already playing, no new instance of the sound plays."
https://helpx.adobe.com/animate/using/using-sounds.html
Copy link to clipboard
Copied
Thanks for the reply.
I found that putting sounds in timeline is not a good idea. Its better to use actionscript for background sounds.