# Flash 8 - .swf sound is choppy

**URL:** <https://forum.kirupa.com/t/flash-8-swf-sound-is-choppy/193355>\
**Category:** Uncategorized\
**Created:** [July 12, 2006, 7:55pm UTC](https://forum.kirupa.com/t/flash-8-swf-sound-is-choppy/193355 "2006-07-12T19:55:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theprise](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@theprise](https://forum.kirupa.com/u/theprise)\
**Post date:** [July 12, 2006, 7:55pm UTC](https://forum.kirupa.com/t/flash-8-swf-sound-is-choppy/193355/1 "2006-07-12T19:55:43Z")

</div>

I’m having a problem with the sounds in a loaded .swf file. I converted an .avi to a .swf using a conversion program so I could load it into a flash player. The sound on the .swf when played in the default player is fine. However, when I load it into the script below, the sound is very choppy. This has been driving me crazy for a while now. Anyone have any suggestions on how to fix this, or another way to load a .swf and control its sound?

```auto

vol = 100;
a=0;
onEnterFrame = function(){
playVid();
}
MovieClip.prototype.playVid = function(){
_root.createEmptyMovieClip("picture",this.getNextHighestDepth());
picture.loadMovie("video1.swf",1);
this.onEnterFrame = function(){ 
s = new Sound();
s.setVolume(vol);
picture.play();
}
}
 

```

This is all the coding needed, you should see the effect I’m talking about. Thanks for looking!
