danjo
New member
Habe ein Problem mit meiner Navigation. Klicke ich z.B. Button 1 an und danach Button 2, so sieht man die Seite auf die Button 1 verweist zusammen mit der Seite auf die Button 2 verweist. Woran liegt das?
AS Navi:
Hier sieht man es. Man klicke auf die Buttons rechts unten!
.:: Page ::.
AS Navi:
Code:
[COLOR="Blue"]
button1.isPressed = false;
button1.onRollOver = function(){
if(!this.isPressed)
this.gotoAndStop(2);
}
button1.onRollOut = function(){
if(!this.isPressed)
this.gotoAndStop(1);
}
button1.onRelease = function(){
this.isPressed = true;
this.gotoAndStop(3);
}
button2.isPressed = false;
button2.onRollOver = function(){
if(!this.isPressed)
this.gotoAndStop(2);
}
button2.onRollOut = function(){
if(!this.isPressed)
this.gotoAndStop(1);
}
button2.onRelease = function(){
this.isPressed = true;
this.gotoAndStop(3);
}
button3.isPressed = false;
button3.onRollOver = function(){
if(!this.isPressed)
this.gotoAndStop(2);
}
button3.onRollOut = function(){
if(!this.isPressed)
this.gotoAndStop(1);
}
button3.onRelease = function(){
this.isPressed = true;
this.gotoAndStop(3);
}
button4.isPressed = false;
button4.onRollOver = function(){
if(!this.isPressed)
this.gotoAndStop(2);
}
button4.onRollOut = function(){
if(!this.isPressed)
this.gotoAndStop(1);
}
button4.onRelease = function(){
this.isPressed = true;
this.gotoAndStop(3);
}
button5.isPressed = false;
button5.onRollOver = function(){
if(!this.isPressed)
this.gotoAndStop(2);
}
button5.onRollOut = function(){
if(!this.isPressed)
this.gotoAndStop(1);
}
button5.onRelease = function(){
this.isPressed = true;
this.gotoAndStop(3);
} [/COLOR]
.:: Page ::.
Zuletzt bearbeitet: