|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
onPress function usage!
Hi, i designed a button in flash, and i want it to get some forms variables to send it a anything.php file that make a query to a mysql server and im having problems with the button im using this code , but nothing happens when i test it on the server:
on (press) { function doSubmit() { userData = new LoadVars(); userData.id = id; userData.fecha = fecha; userData.hora = hora; userData.destinatario = destinatario; userData.apellido = apellido; userData.nombre = nombre; userData.telefono = telefono; userData.mail = mail; userData.receptor = receptor; userData.mensaje = mensaje; userData.send("inserta.php", "", "post"); } } any hint?? Thanks |
|
#2
|
|||
|
|||
|
yourButtonName.onPress = function() {
... }
__________________
I'm not impatient, I just have a low tolerance for boredom. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > onPress function usage! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|