Показать сообщение отдельно
Старый 08.07.2005, 15:16
KidsKilla вне форума Посмотреть профиль Отправить личное сообщение для KidsKilla Посетить домашнюю страницу KidsKilla Найти все сообщения от KidsKilla
  № 7  
Ответить с цитированием
KidsKilla
.grin! wuz here
 
Аватар для KidsKilla

Регистрация: Aug 2004
Адрес: paradise city
Сообщений: 3,981
Отправить сообщение для KidsKilla с помощью ICQ
Код:
my_mc.stop();
my_mc.stayAtEnd = false;
my_mc.goForward = function(){
   this.onEnterFrame = function(){
      this.nextFrame();
      if(this._currentframe = this._totalframes){
       delete this.onEnterFrame;
       if(!this.stayAtEnd) this.goBackward()
      }
   }
}
my_mc.goBackward = function(){
   this.onEnterFrame = function(){
      this.nextFrame();
      if(this._currentframe = 1){
       delete this.onEnterFrame;
       if(this.stayAtEnd) this.goForward()
      }
   }
}
my_mc.onRollOver = function(){
   this.stayAtEnd = true;
   this.goForward();
}
my_mc.onRollOut = function(){
   this.stayAtEnd = false;
   this.goBackward();
}
__________________
Breakcore them all!