Показать сообщение отдельно
Старый 28.07.2010, 14:34
bobnur вне форума Посмотреть профиль Отправить личное сообщение для bobnur Найти все сообщения от bobnur
  № 7  
Ответить с цитированием
bobnur

Регистрация: Jul 2010
Сообщений: 6
Код AS1/AS2:
scroll.onPress = function()
{
	startDrag(this,false, 38.6 ,614.75, 755, 614.75);
	temp = this._xmouse; trace(temp);
	this.onMouseMove = function():Void  {
			if(temp>_xmouse){
				trace(">");
				temp=_xmouse;}
			else { if (temp<_xmouse)
				trace(">");
				temp=_xmouse;
			}
		}
}
 
scroll.onRelease = function() {
		this.stopDrag();
}
вот теперь работает тока осталося узнать куда он двигается процессе движения мыши...