Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Separate start/stop action for background sound?

$
0
0

Hello,

 

First, let me preface this question with the caveat that I am a complete amateur when it comes to flash and anything I have accomplished thus far is by simply winging it.  Therefore, if my question seems rather inane, there is a good reason why.

 

My situation is as follows...

 

I am creating a soundboard and would like to have background noise available to loop for the user to activate/stop at any time, and so I would like its activation/stopping action to be separately controlled from the rest of the sounds on the board.

 

That is to say that the other sounds on the board are started and stopped via the spacebar, which I have accomplished just fine, but I am running into great difficulty when trying to get the background noise to start and stop with a mouse-click.

 

I have created a button for it and attempted to use a 'code snippet' for the start/stop action, but when testing, it starts with the click (like anything else), but stops with the spacebar.

 

As I said, I realize this is likely pretty elementary to those well-versed in flash, but I would appreciate any insight into what I might be doing wrong here.

 

Thanks very much!


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>