la consulta es la siguiente:
tengo un bonito menu flash que me paso un amigo, este contiene 9 botones y se desplaza con una espiral estirada a lo vertical con el movimiento del puntero sobre los botones. Cuando ingreso a flash para modificarlo me encuentro que tiene bastante programacion y esta hecho a base de un movi clip y cuando modifico el texto de este movi clip todos los otros botones adquieren el mismo texto. Ya se dira que entonces lo que debo de hacer en colocar un movi clip en cada boton pero me da el mismo resultado. Yo creo que esto se debe a los scripts. Pero no se manejar action script.
Por lo pronto lo unico que puedo enviarle es un txt con los scripts.
uds diran si envio el formato fuente del menu flash.
Gracias de antemano por colaborarme.
botones
on (rollOver) {
NewPosY = 225;
Vertex1.GotoAndPlay(2);
}
on (rollOut) {
Vertex1.GotoAndPlay(20);
}
fotograma1
count = 0;
while (count < VerticeNum) {
count ++;
this["z" add count] = Math.cos((count*45) * (math.PI/180)) * 50;
this["y" add count] = Math.sin((count*45) * (math.PI/180)) * 50;
this["x" add count] = (count * 40) - (VerticeNum/2 * 40);
duplicateMovieClip("Vertex", "Vertex" add count, count );
}
setProperty("Vertex", _visible, 0);
setProperty("Line", _visible, 0);
CenterRotationX = 0;
CenterRotationY = 0;
TrailerX = 50;
TrailerY = 360;
fotograma2
call("Mousetracking");
call("Calc3d");
fotograma3
prevFrame();
play();
fotograma4
DifferenceX = NewPosX - TrailerX;
DifferenceY = NewPosY - TrailerY;
addX = differenceX / 10;
addY = differenceY / 5;
overshootX = overshootX + addX;
overshootY = overshootY + addY;
TrailerX = TrailerX + overshootX + addX;
TrailerY = TrailerY + overshootY + addY;
Yangle = TrailerX;
Xangle = TrailerY;
fotograma5
c = 0;
while (c < VerticeNum) {
c++;
Xang = Xangle * (math.PI/180);
Yang = Yangle * (math.PI/180);
//-----------------------------------------
//--- y rotate ---
//-----------------------------------------
this["zpos" + c] = this["z" + c] * math.cos(Yang) - this["x" + c] * math.sin(Yang);
this["xpos" + c] = this["z" + c] * math.sin(Yang) + this["x" + c] * math.cos(Yang);
//-----------------------------------------
//--- x rotate ---
//-----------------------------------------
this["ypos" + c] = this["y" + c] * math.cos(Xang) - this["zpos" + c] * math.sin(Xang);
this["zpos" + c] = this["y" + c] * math.sin(Xang) + this["zpos" + c] * math.cos(Xang);
//-----------------------------------------
//-- 3d to 2d --
//-----------------------------------------
this["Depth" + c] = (1 / ((this["zpos" + c]/perspective) + 1));
//-----------------------------------------
//--- draw ---
//-----------------------------------------
this["Vertex" + c]._x = this["xpos" + c] * this["Depth" + c] + CenterRotationX;
this["Vertex" + c]._y = this["ypos" + c] * this["Depth" + c] + CenterRotationY;
this["Vertex" + c]._xscale = this["Vertex" + c]._yscale = (this["Depth" + c] / 2) * 500 ;
this["Vertex" + c]._alpha = this["Depth" + c] * 100;
//-----------------------------------------
//--- Z-Sorting ---
//-----------------------------------------
this["Vertex" + c].swapDepths(this["Depth" + c] * 500);
}
