# attachSound problem

**URL:** <https://forum.kirupa.com/t/attachsound-problem/161290>\
**Category:** Uncategorized\
**Created:** [September 2, 2005, 2:42pm UTC](https://forum.kirupa.com/t/attachsound-problem/161290 "2005-09-02T14:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![livestyle](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@livestyle](https://forum.kirupa.com/u/livestyle)\
**Post date:** [September 2, 2005, 2:42pm UTC](https://forum.kirupa.com/t/attachsound-problem/161290/1 "2005-09-02T14:42:31Z")

</div>

Hi all,

I am using this code to attach sound into the mc. Normally it is working to me, but I tried to add it to the mail form and there it’s working only on in my [color=darkred]computer[/color]. When I put it on the [color=darkred]server, [/color][color=black]it doesn’t[/color] work to me.  
Does anyone know why it is so?

[color=navy]this.submit.onRelease = function() {  
if (!Name.length) {  
Status = “Please Enter Your Name”;  
ERORNois.start();[/color]  
[color=navy] } else if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {  
Status = “Please Enter A Valid E-MAIL Address”;  
ERORNois.start();[/color]  
[color=navy] }  
};[/color]  
[color=navy][/color]  
[color=navy]ERORNois = new Sound();  
ERORNois.attachSound(“pip2”);  
[/color]
