Comunidad de diseño web y desarrollo en internet online

Cuantos colores majena flash

Citar            
MensajeEscrito el 27 Sep 2006 09:58 am

Código :

//QUIERO GENERAR COLORES ALEATORIOS
pintarCuadrado = new Color("cuadrado_mc");
cuadrado_mc.onEnterFrame = function() {
   //QUE NUMERO DEBERIA PONER JUNTO A Math.random()*?
   //PARA ABARCAR TODA LA GAMA 16 MILLONES, 24??
   pintarCuadrado.setRGB(Math.random()*16e+6);
   _root.texto_txt.text = pintarCuadrado.getRGB();
};

Por oxk4r

56 de clabLevel



 

Orense·España

firefox
Citar            
MensajeEscrito el 27 Sep 2006 12:23 pm
Se supone que al usar sistema hexagesimal tiene 24 millones...
creo

Por sirguy

52 de clabLevel



 

msie
Citar            
MensajeEscrito el 27 Sep 2006 01:28 pm
16777216

Por Zah

BOFH

4290 de clabLevel

27 tutoriales
5 articulos

  Bastard Operators From Hell Editores

Zaragoza, España

firefox
Citar            
MensajeEscrito el 28 Sep 2006 08:29 am
Vale, muchas gracias tronkos.

Por oxk4r

56 de clabLevel



 

Orense·España

firefox

 

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