Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/06/2003, 12:31
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
te paso el codigo:

_root (frame 1)

Código:
posx=posicion._x;
posy=posicion._y;
alto=botonera._height;
ancho=botonera._width;
corre=5
num=0;


for (i=0; i<corre; i++) {
	colorete= Math.round(Math.random()*333399);
	objN = "objN"+num;
	botonera.duplicateMovieClip("objN"+num, num);
	this["objN"+num]._x = posx;
	this["objN"+num]._y = posy+alto*num+5*num;
    pintura_color = new Color(eval(this["objN"+num]));
	pintura_color.setRGB(Ox+colorete);
	num++;
	
}
y en el boton tengo este codigo (esta dentro de un MC)

Código:
on (press) {
	this.startDrag(0);
}
on (release) {
	this.stopDrag();
    pintura_color = new Color(eval(this._droptarget));
	pintura_color.setRGB(Ox+_root.colorete);
}
a ver que se te ocurre!

gracias y salu2
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho