mi codigo
Publicado por eliz (2 intervenciones) el 07/06/2005 14:35:04
hola chicos
alguien me pueden ayudar con este codigo esdemasiado para una novata
realizabotones en forma de arbol.
for (sum=0; sum<cantidad; sum++) {
//trace(raiz)
xxx.attachMovie("columna", raiz+"_nom"+sum, sum);
eval("xxx."+raiz+"_nom"+sum)._y = -((cantidad*30)/2)-15+(sum+1)*30;
}
if ((this._height-20)<((cantidad*15)-15)) {
al._height = (cantidad*15)-15;
} else {
al._height = this._height-20;
}
al._y = (-((cantidad*30)/2)+15)+(al._height-(al._height/2));
stop();
despuesde que realiza las comparaciones anteriores, manda allamar este otro codigo para completar la realizacion de botones dinamicos
fun = _root.recordar[this._name];
cantidad = fun.childNodes.length;
texto = fun.nodeName;
enlace = fun.attributes.enlace;
//
if (cantidad>0) {
gotoAndStop(2);
} else {
stop();
}
alguien me pueden ayudar con este codigo esdemasiado para una novata
realizabotones en forma de arbol.
for (sum=0; sum<cantidad; sum++) {
//trace(raiz)
xxx.attachMovie("columna", raiz+"_nom"+sum, sum);
eval("xxx."+raiz+"_nom"+sum)._y = -((cantidad*30)/2)-15+(sum+1)*30;
}
if ((this._height-20)<((cantidad*15)-15)) {
al._height = (cantidad*15)-15;
} else {
al._height = this._height-20;
}
al._y = (-((cantidad*30)/2)+15)+(al._height-(al._height/2));
stop();
despuesde que realiza las comparaciones anteriores, manda allamar este otro codigo para completar la realizacion de botones dinamicos
fun = _root.recordar[this._name];
cantidad = fun.childNodes.length;
texto = fun.nodeName;
enlace = fun.attributes.enlace;
//
if (cantidad>0) {
gotoAndStop(2);
} else {
stop();
}
Valora esta pregunta


0