mardi 14 février 2017

Actionscript how to stop one sound from button click

How do I stop a certain sound in animated CC. I already have a button that starts the movie but when I click on the button I want the intro sound to stop and the new sound to start. If I click the button before I've finished the intro tho sounds are playing on top of each other. Below is the code for my start button:

import; knapp_btn.addEventListener(MouseEvent.CLICK,starta); function starta(event:MouseEvent):void {




Aucun commentaire:

Enregistrer un commentaire