# Pausing animation AND sound?

**URL:** <https://forum.kirupa.com/t/pausing-animation-and-sound/160747>\
**Category:** Uncategorized\
**Created:** [August 29, 2005, 5:07am UTC](https://forum.kirupa.com/t/pausing-animation-and-sound/160747 "2005-08-29T05:07:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElNacho](https://avatars.discourse-cdn.com/v4/letter/e/a88e57/32.png) [@ElNacho](https://forum.kirupa.com/u/ElNacho)\
**Post date:** [August 29, 2005, 5:07am UTC](https://forum.kirupa.com/t/pausing-animation-and-sound/160747/1 "2005-08-29T05:07:52Z")

</div>

Can you pause both animation and sound? I know you can do

on(release){  
stop();  
stopAllSounds();  
}

but you can’t start the sounds again after that at the place they were at, like a soundtrack. What is the actionscript (if it exists) for a pause and play buttons that also pause and play the sounds?

Imported movies pause sound with stop();, do i have to export an swf with like just the soundfile and put that in? Cause i think that would work but sounds like too much trouble.
