![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
![]() |
|
|
|
|||||
|
Ветеран форума
|
Пока ничего умного здесь не сказали )))
__________________
BestMasterиZация |
|
|||||
|
я выскажу)
оставляем startDrag и используем номальную функцию которую можно контролировать: MovieClip.prototype.startMyDrag= function() { this.x = this._xmouse; this.y = this._ymouse; this.onEnterFrame = function() { this._x =_root._xmouse - this.x; this._y = _root._ymouse - this.y; }; }; MovieClip.prototype.stopMyDrag = function(){ delete this.onEnterFrame; } mc.onPress = function(){ this.startMyDrag() } mc.onRelease = function(){ this.stopMyDrag() } |
![]() |
![]() |
Часовой пояс GMT +4, время: 14:49. |
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | |
| Опции просмотра | |
|
|