swf
swf copied to clipboard
Runtime SwfLite scales matrices multiple times
Using the SwfLiteExporter causes graphical errors where child shapes appear in the wrong position. The problem is at SWFLiteExporter.hx#L141, L558 and L811 where the matrix is divided by 20. if the symbol is used multiple times it will be scaled again and again, we can avoid this with:
var matrix = placeTag.matrix.matrix;
matrix.tx = placeTag.matrix.translateX / 20;
matrix.ty = placeTag.matrix.translateY / 20;