Mam problem.. otóż jestem początkująca i nie wiem jak zrobić takie menu jak na tej stronie: http://www.gimnazjum6tarnow.tarman.pl/index2.html a jest mi to bardzo potrzebne.. Bardzo prosiłabym o pomoc
Pozdr.
Kod: Zaznacz cały
onClipEvent (load) {
perspective = 400;
VerticeNum = 9;
}
//[ Frame 1 ]
function calc3d() {
c = 0;
while (c < (VerticeNum + 1)) {
c++;
Xang = Xangle * Math.PI/180;
Yang = Yangle * Math.PI/180;
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));
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));
this["Depth" + c] = 1 / ((this["zpos" + c] / perspective) + 1);
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].swapDepths(this["Depth" + c] * 500);
}
}
function setAngle() {
TrailerY = TrailerY + ((NewPosY - TrailerY) / 5);
Xangle = TrailerY;
}
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);
}
duplicateMovieClip ("Line", "Vertex10", 100);
setProperty("Vertex", _visible , 0);
setProperty("Line", _visible , 0);
CenterRotationX = 0;
CenterRotationY = 0;
TrailerX = 50;
TrailerY = 360;
//[ Frame 2 ]
calc3d();
setAngle();
//[ Frame 3 ]
prevFrame();
play();
Siwy pisze:Jak jesteś początkująca to raczej nie podołasz temu zadaniu.
Myślałem, że potrzebnie się rozpisuje, ale jak widać nie gdyż Twój ostatni post wskazuje na to, iż nie czytasz tego, co się Do ciebie pisze. Gdybyś czytała i rozumiała ja bym się nie rozpisał.Marek_bf pisze:Siwy ma zupełna rację, jeżeli jesteś początkująca, nie zrobisz tego menu, jeżeli nie chce Ci się uczyć, to niestety też nie zrobisz tego menu.
Żeby móc myśleć o zrobieniu takiego menu musisz niestety przebrnąć przez minimum podstawy skryptowania w ActionScript, inaczej nawet najlepszy tutotial Ci nie pomorze, bo nie będziesz wiedziała, co jest co.
PrzesadzaszCyr4x pisze:Za zrobienie takiego menu można wziąść kilkaset zł, a ty się wręcz domagasz tego za frajer.