estopu tendo problemas com esse script ....
bt.onRelease = function {
objMail.nome = nome.text;
objMail.email = email.text;
objMail.assunto = assunto.text;
objMail.mensagem = mensagem.text;
mensagem.text = nome.text=assunto.text=email.text="";
objMail.sendAndLoad("C:/Inetpub/wwwroot/centroteste/example/mail.asp", objMail, "POST");
}
o flash acusa esse erro ......
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 2: Function name expected
bt.onRelease = function {
alguém poderia me ajudar ?????

Sript
Started By jcxpjau, 22/07/2006, 11:59
2 replies to this topic
#1
Posted 22/07/2006, 11:59
#2
Posted 22/07/2006, 12:04
você precisa colocar os parentêses.
bt.onRelease = function ():Void {
objMail.nome = nome.text;
objMail.email = email.text;
objMail.assunto = assunto.text;
objMail.mensagem = mensagem.text;
mensagem.text = nome.text=assunto.text=email.text="";
objMail.sendAndLoad("C:/Inetpub/wwwroot/centroteste/example/mail.asp", objMail, "POST");
}
bt.onRelease = function ():Void {
objMail.nome = nome.text;
objMail.email = email.text;
objMail.assunto = assunto.text;
objMail.mensagem = mensagem.text;
mensagem.text = nome.text=assunto.text=email.text="";
objMail.sendAndLoad("C:/Inetpub/wwwroot/centroteste/example/mail.asp", objMail, "POST");
}
#3
Posted 22/07/2006, 12:06
valeu cara ..........
vo vê lá ...abraço
vo vê lá ...abraço
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)