Показать сообщение отдельно
Старый 30.08.2007, 13:55
forward вне форума Посмотреть профиль Отправить личное сообщение для forward Посетить домашнюю страницу forward Найти все сообщения от forward
  № 3  
Ответить с цитированием
forward
 
Аватар для forward

Регистрация: Jul 2007
Адрес: Украина Днепропетровск
Сообщений: 312
Записей в блоге: 1
_etc, глянь если не сложно полный скрипт потому что выше написанный неработает....
Как его остановить ....???

Код:
stop ();
wait = 7000;
myFun = function ()
{
        muv = attachMovie("ball_mc", "ball_mc", 1);
	trace("OPA");
    muv._x = 650;
    muv._y = 100;
	    _root.verh.verh2.gotoAndStop(23);
    onEnterFrame = function ()
    {
		_root.menu.gotoAndStop(2);
        } // end if
    };
    clearInterval(id);
	
	
   muv.onPress = function (){
   this.startDrag();
   _root.muv.logo_info.gotoAndStop(1);
   }
muv.onRelease = function (){
   this.stopDrag();
	   
   if(this.hitTest(wall._x, wall._y, true)){
    
        _root.load_info.two.gotoAndPlay(51);
		_root.menu.gotoAndStop(3);
		muv.removeMovieClip();
	  trace("hitTest");
   }else{
	   _root.muv.logo_info.gotoAndPlay(2);
	   trace("NO hitTest");
	     
   }
} 
          
};
this.onMouseDown = function ()
{
    xm = _xmouse;
    ym = _ymouse;
    clearInterval(id);
    this.onEnterFrame = function ()
    {delete this.onEnterFrame;
        if (xPred == xm && yPred == ym)
        {
            id = setInterval(myFun, wait);
            
        } // end if
        xPred = xm;
        yPred = ym;
    };
};


Последний раз редактировалось forward; 30.08.2007 в 14:12.