# Does attachSound load my MP3 into my SWF file?

**URL:** <https://forum.kirupa.com/t/does-attachsound-load-my-mp3-into-my-swf-file/190937>\
**Category:** flash\
**Created:** [June 15, 2006, 9:15pm UTC](https://forum.kirupa.com/t/does-attachsound-load-my-mp3-into-my-swf-file/190937 "2006-06-15T21:15:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OM2](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@OM2](https://forum.kirupa.com/u/OM2)\
**Post date:** [June 15, 2006, 9:15pm UTC](https://forum.kirupa.com/t/does-attachsound-load-my-mp3-into-my-swf-file/190937/1 "2006-06-15T21:15:10Z")

</div>

I have the following code:

```php

var soundPlay = true;
var mySound:Sound = new Sound();
mySound.attachSound("mySoundFile");

```

Does the above load my sound into my SWF file?  
This is what I want.

Any help would be appreciated.

Thanks.

OM
