# Sound object doesn't play in Flash MX 2004

**URL:** https://forum.kirupa.com/t/sound-object-doesnt-play-in-flash-mx-2004/59686
**Category:** Uncategorized
**Created:** [August 3, 2004, 1:38am UTC](https://forum.kirupa.com/t/sound-object-doesnt-play-in-flash-mx-2004/59686 "2004-08-03T01:38:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stakenyf](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@stakenyf](https://forum.kirupa.com/u/stakenyf)
#### Post date: [August 3, 2004, 1:38am UTC](https://forum.kirupa.com/t/sound-object-doesnt-play-in-flash-mx-2004/59686/1 "2004-08-03T01:38:52Z")

</div>

Since I upgraded to flash MX 2004, I’m experiencing a sound issue.

The sound plays fine when I publish in Flash version 6 but doesn’t play when I publish in version 7. The reason I need to publish in version 7 is because I use flash mx 2004’s new CSS and \<img src\> support.

I defined a sound object in an actionscript in the 1st frame of the timeline using the following code:

audio=new Sound();  
audio.attachsound(“audio1”);

The sound object “audio” in the library has a linkage id of “audio1” .

Later down the timeline the sound object is loaded using the following code:

\_root.audio.start(0,999);

Again, this script works fine when I publish in flash verson 6 but then I loose my css support. In flash 7 I regain my css support but I loose my sound.

Anybody have a clue about this?
