# Sound in flash

**URL:** https://forum.kirupa.com/t/sound-in-flash/207281
**Category:** Uncategorized
**Created:** [November 16, 2006, 5:25am UTC](https://forum.kirupa.com/t/sound-in-flash/207281 "2006-11-16T05:25:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jamie\_dollard](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jamie\_dollard](https://forum.kirupa.com/u/jamie_dollard)
#### Post date: [November 16, 2006, 5:25am UTC](https://forum.kirupa.com/t/sound-in-flash/207281/1 "2006-11-16T05:25:47Z")

</div>

hey all,

i have this actionscript :

s = new Sound();  
s.attachSound(“radio\_advert01”);  
s.start();

it the audio plays fine when published straight out of flash but i have that swf being accessed through another swf which is being published to the web and when i view my website it doesn’t work. any ideas. am i using the wrong script??/

here is a simple flow chart if what i said doesn’t make sence

swf\_1 with audio \<\< swf\_2 which loads swf\_1 inside it \<\< html page which publishes all to my website…

appreciate any help. as you can see it gets confusing and i’m pretty stuck…

cheers for anything.
