# AS 3: embedded youtube movie sound not stopping

**URL:** <https://forum.kirupa.com/t/as-3-embedded-youtube-movie-sound-not-stopping/287328>\
**Category:** flash\
**Created:** [April 29, 2009, 2:32pm UTC](https://forum.kirupa.com/t/as-3-embedded-youtube-movie-sound-not-stopping/287328 "2009-04-29T14:32:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fledermaus](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@fledermaus](https://forum.kirupa.com/u/fledermaus)\
**Post date:** [April 29, 2009, 2:32pm UTC](https://forum.kirupa.com/t/as-3-embedded-youtube-movie-sound-not-stopping/287328/1 "2009-04-29T14:32:08Z")

</div>

hi all, I’m desperate…

I tried to emded a youtube movie into a flash file, and that all seems to be working:

```auto

createEmptyMovieClip("video_mc", 10000);
video_mc._x = 150;
video_mc._y = 5;
video_mc._xscale = 100;
video_mc._yscale = 100;
video_mc.loadMovie("http://www.youtube.com/v/laAcC2r8ag0&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999");

```

So that’s working. Although, when I click a button below that movie, it jumps back to frame one, the movie is gone BUT the sound keeps on playing forever.

```auto
on (release) {
	video_mc.stop();
	stopAllSounds();
	removeMovieClip(video_mc);
	_root.gotoAndStop(1);
}

```

So basically the question is: how can I stop streaming sound from keeping on playing even when jumping to another frame?

I hope you can help me !
