我很困惑,我将矩阵数据类型传递给 this.graphics.beginBitmapFill(); 我得到类型值的隐式强制。下面是我的代码。
var theMatrix:Matrix;
theMatrix = new Matrix();
this.graphics.beginBitmapFill(tileImage,theMatrix.translate(30,0));
this.graphics.endFill();
和followig错误小枝
1067: Implicit coercion of a value of type void to an unrelated type flash.geom:Matrix.