Показать сообщение отдельно
Старый 21.02.2011, 19:50
i.o. вне форума Посмотреть профиль Отправить личное сообщение для i.o. Найти все сообщения от i.o.
  № 13  
Ответить с цитированием
i.o.
 
Аватар для i.o.

Регистрация: Apr 2010
Адрес: Earth
Сообщений: 1,897
Цитата:
Что там творится внутри этого метода?
отвечаю на ваш вопрос:

playerglobal_10.1.swc -> flash.geom.Matrix:
Код AS3:
        public function createBox(scaleX:Number, scaleY:Number, rotation:Number = 0, tx:Number = 0, ty:Number = 0) : void
        {
            this.identity();
            this.rotate(rotation);
            this.scale(scaleX, scaleY);
            this.tx = tx;
            this.ty = ty;
            return;
        }
 
        public function createGradientBox(width:Number, height:Number, rotation:Number = 0, tx:Number = 0, ty:Number = 0) : void
        {
            this.createBox(width / 1638.4, height / 1638.4, rotation, tx + width / 2, ty + height / 2);
            return;
        }