# Make Audio & Video Rewind & Play together

**URL:** https://forum.kirupa.com/t/make-audio-video-rewind-play-together/254332
**Category:** flash
**Created:** [March 11, 2008, 12:32am UTC](https://forum.kirupa.com/t/make-audio-video-rewind-play-together/254332 "2008-03-11T00:32:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Renice](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@Renice](https://forum.kirupa.com/u/Renice)
#### Post date: [March 11, 2008, 12:32am UTC](https://forum.kirupa.com/t/make-audio-video-rewind-play-together/254332/1 "2008-03-11T00:32:22Z")

</div>

Hello everyone!  
I am fairly new to Actionscripting and brand new to this forum. I hate to start out desperate but I am. Let me set the stage:

I created a 7 scene swf in CS3 Actionscript 2.0 and have integrated (under excruciating trials) a voiceover tract (mp3) that is perfectly timed. Now, I have been asked to put in controls so that viewers/listeners can STOP / REWIND / PLAY the swf.

After numerous trys I finally got the following script to play the audio with the video:

var s:Sound = new Sound();  
s.attachSound(“recording”);  
s.start(0, 0);

AND… I can get the audio to stop with the video with this script:

on(release) {  
s.stop();  
stop();  
}

BUT… no matter what I try I cannot get the Rewind & Play to act as one (I either get the video to stop & not the audio & vice versa).

The script looks too simplistic to other scripts I’ve seen, so perhaps the fault lies in my simplicity. In any case, I REALLY need help!!!

Thanks in advance…
