This content has been marked as final. Show 4 replies
If you have the sounds in the library, then you need to use a linkage identifier and then you will need to use new Sound (), attachSound(), and start();
If you have the sound on the timeline somewhere, you should just be able to point the playhead to the beginning frame of the sound.
Thanks for your reply. However, I guess I didn't give enough info. The project is an animation with voice-over and background music (VO and music are on the timeline) at the root level. In a movie clip is where I have put the buttons and code. StopAllSounds() works in muting all of the sound and the playhead keeps going. I am wondering if there is code to unmute the sound from where the playhead is when the unmute button is pressed. In other words, it can't back up to the beginning of the frame of the sound.
you have limited ability to control your sound with timeline based sound that you are currently using.
specifically, you can't do what you want unless you change your timeline based sound and use the sound class as mentioned in the above message.
I was going to explain some things to you, but I created a little flash file to visually show you what I was going to explain. Look around the flash document and let me know if that helps or if you have questions.
It would be easier to explain if I saw your flash document so I could apply my example to how you have your document setup.