• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

Navi Problem mit AS

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:
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]
Hier sieht man es. Man klicke auf die Buttons rechts unten!

.:: Page ::.
 
Zuletzt bearbeitet:
das liegt schlicht daran, dass du mit deinen buttons keinen anderen movieclip oder die hauptzeitleiste steuerst, sondern du hast deinen kompletten seiteninhalt anscheinend in den button reingebastelt.

das würde ich an deiner stelle dringendst ändern.

ausserdem sagst du deinen buttons nirgends, dass sie zurückspringen sollen, wenn ein anderer button gedrückt wird.


greetz

.:big-mac:.
 
Zurück
Oben