Comunidad de diseño web y desarrollo en internet online

onChanged = function ()

Citar            
MensajeEscrito el 02 Jul 2008 10:02 pm
con esto deberia que cuando escribo en el mytextfield1 se refleja en el mytextfield2

--------------------------------------------------------------------------
mytextfield1.onChanged = function ()
{
_root.mytextfield2.text = this.text;
};

--------------------------------------------------------------------------

pero no me funciona
alguein sabe como hacerlo de otra forma ..... ?????

Por zonwebperu

24 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 02 Jul 2008 11:54 pm
mytextfield1.onChanged = function ()
{
_root.mytextfield2.text = mytextfield1.text;
};

Pruebalo así

Por lineagrafica

189 de clabLevel

1 tutorial

Genero:Masculino  

Diseño, Desarrollador, Marketing

firefox
Citar            
MensajeEscrito el 03 Jul 2008 12:00 am
si funciona estuvo espectacular

pero logre hacerlo de esta forma tambien funciona

espero que les sirva a todos.
//========================================================
entrada.onKillFocus = function(newFocus){
entrada.onChanged;
}
entrada.onChanged = function (txt) {
};
myListener = new Object();
myListener.onChanged = function (txt) {
elGrande.text = entrada.text ;
};
entrada.addListener(myListener);
//========================================================

Por zonwebperu

24 de clabLevel



Genero:Masculino  

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.