
23/03/2010, 04:39
|
 | | | Fecha de Ingreso: febrero-2010
Mensajes: 29
Antigüedad: 15 años Puntos: 0 | |
Respuesta: como cambiar las cordenadas del calendario flash SOLUCIONADO!
Código:
function hazDia(p, col, label) {
//LOS CUADROS DE ATRAS
var tm_mc = algo.createEmptyMovieClip("tempo"+p, p);
tm_mc.beginFill(col);
//tm_mc.lineStyle(1, 0xffffff);
tm_mc.lineTo(845, 845);
tm_mc.lineTo(845+22,845);
tm_mc.lineTo(845+22, 845+17);
tm_mc.lineTo(845, 845+17);
tm_mc.lineTo(845, 845);
format = new TextFormat();
format.font = "Verdana";
format.size = 10;
format.bold = true;
format.color = 0x666600;
tm_mc.createTextField("label_txt", p+835, 847, 845, 845, 845);
tm_mc.label_txt.selectable = false;
tm_mc.label_txt.embedFonts = true;
tm_mc.label_txt.text = label;
tm_mc.label_txt.autoSize = true;
tm_mc.label_txt.setTextFormat(format);
return tm_mc;
};
function hazBoton(p, label, accion,idb) {
var tm_mc = activo.duplicateMovieClip("tempo"+p,p);
format = new TextFormat();
format.font = "Verdana";
format.size = 10;
format.bold = true;
format.color = 0xFAB4E7;
tm_mc.createTextField("label_txt", p+835, 847, 845, 845, 845);
tm_mc.label_txt.selectable = false;
tm_mc.label_txt.html = true;
tm_mc.label_txt.text = label;
tm_mc.label_txt.autoSize = true;
tm_mc.label_txt.setTextFormat(format);
tm_mc.accion = accion;
tm_mc.bt.onRelease = function() { this.busca_lycos(idb);
};
|