Показать сообщение отдельно
Старый 19.03.2009, 13:16
nOobCrafter вне форума Посмотреть профиль Отправить личное сообщение для nOobCrafter Найти все сообщения от nOobCrafter
  № 6  
Ответить с цитированием
nOobCrafter

Регистрация: Nov 2008
Сообщений: 894
Записей в блоге: 1
Ну дык..
Код AS1/AS2:
smth.onRollOver=function():Void
{
    for (var i:number = 1; i < n; i++)
    {
         _root["clip_mc" + i].gotoAndStop(2);
    }
    clip_mc.onEnterFrame = function() 
    {
        this._x -= (clip_mc._x-_xmouse)/55;
        this._y -= (clip_mc._y-_ymouse)/55;
        this._rotation=Math.atan2((this._y-this._parent._ymouse),(this._x-                  this._parent._xmouse))*180/Math.PI;
     };
}