Hola lucasiramos y richardinj, hice lo que me dijieron y tengo en total 3 errores actionscript!
Código:
on (release) {
if(_root.nick.text == "" OR _root.pass.text == "") {
getURL("javascript:alert('Por favor rellena todos los campos')");
} else {
enviar=new LoadVars();
enviar.s_nick=_root.nick.text;
enviar.s_pass=_root.pass.text;
enviar.send('foro/login.php','_self','POST');
}
}
Cita: **Error** Symbol=form, layer=Layer 5, frame=1:Line 2: ')' expected
if(_root.nick.text == "" OR _root.pass.text == "") {
**Error** Symbol=form, layer=Layer 5, frame=1:Line 3: Statement must appear within on handler
getURL("javascript:alert('Por favor rellena todos los campos')");
**Error** Symbol=form, layer=Layer 5, frame=1:Line 4: Unexpected '}' encountered
} else {
Total ActionScript Errors: 3 Reported Errors: 3