# Playing embedded sound. Stops in the middle

**URL:** <https://forum.kirupa.com/t/playing-embedded-sound-stops-in-the-middle/280522>\
**Category:** flash\
**Created:** [January 28, 2009, 3:02pm UTC](https://forum.kirupa.com/t/playing-embedded-sound-stops-in-the-middle/280522 "2009-01-28T15:02:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myung](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Myung](https://forum.kirupa.com/u/Myung)\
**Post date:** [January 28, 2009, 3:02pm UTC](https://forum.kirupa.com/t/playing-embedded-sound-stops-in-the-middle/280522/1 "2009-01-28T15:02:17Z")

</div>

Hi.

I try to play an embedded sound clip like this:

```auto

[Embed(source = "../assets/glass.mp3")] private var SoundAsset:Class;
var SFX: Sound = new SoundAsset();
SFX.play();

```

I get this sound played, but it cuts after a few ms, while the sound clip is about 1 sec.

What could be the problem?

TNX!
