# Error #2068, preload sounds problem

**URL:** <https://forum.kirupa.com/t/error-2068-preload-sounds-problem/243064>\
**Category:** flash\
**Created:** [November 2, 2007, 12:17pm UTC](https://forum.kirupa.com/t/error-2068-preload-sounds-problem/243064 "2007-11-02T12:17:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doogog](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@doogog](https://forum.kirupa.com/u/doogog)\
**Post date:** [November 2, 2007, 12:17pm UTC](https://forum.kirupa.com/t/error-2068-preload-sounds-problem/243064/1 "2007-11-02T12:17:10Z")

</div>

I’m trying to preload everything internally within one SWF because most upload sites have that restriction.

However, I’m having loads of trouble trying to preload sounds to be used in AS3. It keeps giving me Error #2068: Invalid Sound when I try to play the sound. I have the sound placed on the Timeline in frame 2, and the sound is set to export at that frame.

I instantiate and play the sound after the whole movie is loaded with:

```auto

snd:Sound = new SoundClassName();
var channel:Channel = snd.play(); // error is thrown here

```

But that error keeps popping up. The sound looks to be loaded and playable because if I go to frame 2, I can hear the sound play.

Any ideas or suggestions?

Thanks.
