# Audio Video Snyc Question

**URL:** <https://forum.kirupa.com/t/audio-video-snyc-question/58919>\
**Category:** flash\
**Created:** [July 27, 2004, 1:38am UTC](https://forum.kirupa.com/t/audio-video-snyc-question/58919 "2004-07-27T01:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DKZete](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DKZete](https://forum.kirupa.com/u/DKZete)\
**Post date:** [July 27, 2004, 1:38am UTC](https://forum.kirupa.com/t/audio-video-snyc-question/58919/1 "2004-07-27T01:38:06Z")

</div>

I’m making a video that is sopposed to play certain animation clips in other layers of the timeline at certain points. I know I need a “stop();” in on of the layers somewhere but am not sure. More importantly I can’t figure out how to get the clip to play during the mp3 file, it (currently) doesn’t play until I hit the stop button. Heres what I’ve got so far. The whole movie needs to start from one ‘play’ button. Any help is great help. I’ve been on a crash course to learn AS, and I’m getting the basics down thanks to the help I’ve gotten on here. I’ve been using a tutorial on [www.kennybellew.com](http://www.kennybellew.com) that has helped 100%, but isn’t quite getting what I need…

on(press){  
firstSound=new Sound();  
firstSound.attachSound(“Song01”);  
if (playing!=true) {  
\_root.firstSound.start(0,1);  
playing=true;  
}

//this is the animation clip that I need to play at 10 seconds into the mp3

this.onEnterFrame = function(){  
if (firstSound.position \>=10){  
\_root.gotoAndPlay(2)  
}  
}  
}

Thanks if you can help me out!
