Comunidad de diseño web y desarrollo en internet online

Pasar de minusculas a mayusculas

Citar            
MensajeEscrito el 04 Ago 2006 10:36 pm
Buenas tardes a todos. Estoy realizando un crucigrama y aunque parezca algo tonto no he podido pasar las letras que ingrese el usuario en minúsculas pasarlas a mayúsculas.

Poco a poco se aprenden pequeños detalles de programación.

Gracias por adelantado.

:oops:

Por luisgmo

5 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 04 Ago 2006 11:40 pm
En el frame:

Código :

function cambio(){
var texto_str:String= texto_txt.text;
var texto_mayus:String= texto_str.toUpperCase();
_root.texto_txt.text= texto_mayus;
}


Haces un boton para llamar la funcion:

Código :

on(press){
cambio();
}


Creas un campo de texto input (introduccion) al que le pones texto_txt.

Escribes y oprimes el boton y listo.

Suerte!

Por Lunatic Lycanthrop

Claber

1203 de clabLevel

7 tutoriales

1 ejemplo

Genero:Masculino  

The dark places where wolves access internet with 46,6 kbps

firefox

 

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