Цитата:
|
Что там творится внутри этого метода?
|
отвечаю на ваш вопрос:
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;
}