Einzelnen Beitrag anzeigen
Alt 02-08-2004, 14:55   #6 (permalink)
L.M.
Neuer User
 
Registriert seit: Jul 2003
Beiträge: 593
ActionScript:
  1. [font=Courier New][color=#007700]var clicked;
  2. //
  3. for (var i = 1; i<=5; i++) {
  4.  this["mc"+i].onRollOver = function() {
  5.   if (this != _root.clicked) {
  6.    this.gotoAndPlay(2);
  7.   }
  8.  };
  9.  this["mc"+i].onRollOut = this["mc"+i].onReleaseOutside=function () {
  10.   if (this != _root.clicked) {
  11.    this.gotoAndPlay(11);
  12.   }
  13.  };
  14.  this["mc"+i].onRelease = function() {
  15.   if (this != _root.clicked) {
  16.    // hier die Navigations-Aktion
  17.    this.onEnterFrame = function() {
  18.     if (this._currentframe == 10) {
  19.      this.stop();
  20.      delete this.onEnterFrame;
  21.     }
  22.    };
  23.    _root.clicked.gotoAndPlay(11);
  24.    _root.clicked.useHandCursor = true;
  25.    _root.clicked = this;
  26.    this.useHandCursor = false;
  27.   }
  28.  };
  29. }
  30.  
  31. [/color][/font]

siehe auch Rewind funktioniert nicht ordentlich!
__________________
mfg

Geändert von L.M. (02-08-2004 um 14:57 Uhr)
L.M. ist offline   Mit Zitat antworten