Показать сообщение отдельно
Старый 13.07.2010, 20:53
Хемуль вне форума Посмотреть профиль Отправить личное сообщение для Хемуль Найти все сообщения от Хемуль
  № 4  
Ответить с цитированием
Хемуль
Квач
 
Аватар для Хемуль

Регистрация: Sep 2006
Адрес: Украина, Киев
Сообщений: 1,526
Цитата:
Сообщение от mott Посмотреть сообщение
А он ( globalToLocal ) разве принимает координаты не из системы исчисления _this клипа ?
Из документации:
Цитата:
globalToLocal () method

Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.

To use this method, first create an instance of the Point class. The x and y values that you assign represent global coordinates because they relate to the origin (0,0) of the main display area. Then pass the Point instance as the parameter to the globalToLocal() method. The method returns a new Point object with x and y values that relate to the origin of the display object instead of the origin of the Stage.
С localToGlobal аналогично.
__________________
Да не нужно тебе читать документацию по Flash и AS от Adobe - ты слишком умён для этого