//CUANDO CLICKEA CON EL MOUSE HARA ESTO EL BOTON
_root.txtRespuesta.text = int(NUMERO_ALEATORIO)+int(NUMERO2_ALEATORIO)//Son numeros al azar.
}
if(_root.txtRespuesta.text==_root.peticion.text)
{
_root.txtL._visible=true;//EN CASO DE CUMPLIR LA CONDICION AL PRESIONAR EL BOTON MOSTRARA EL MENSAJE DE APROBACION
}
else if(_root.txtRespuesta.text != _root.peticion.text)
{
_root.txtIn._visible=true;//DE LO CONTRARIO MOSTRARA EL MENSAJE DE ERROR PERO AQUI ES EL PROBLEMA YA QUE AUNQUE NO PULSE EL BOTON REALIZA LA SUMA Y MUESTRA EL MENSAJE.
}
}
ya le di las propiedades de ocultar a cada mensaje pero el mensaje de error lo deja visible aun sin haber pulsado el boton y bueno tengo entendido que si pulso el boton realizara la suma y luego hara la comparacion pero al parecer siempre lo hace no entiendo en que puedo estar mal solo nececito que si el valor sea diferente al pulsar el boton mostrara el mensaje de error por favor espero puedan ayudarme. gracias de antemano.