From c5048c8b2fbb9b4331d9680d875fffcf1dd70095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sat, 29 Jun 2013 19:54:07 +0200 Subject: [PATCH] Issue #136 Fixed FLA export text positions --- trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index 8d937958b..0fcc275e8 100644 --- a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -2197,6 +2197,9 @@ public class XFLConverter { } String matStr = ""; matStr += ""; + RECT bounds = tag.getBounds(); + matrix.translateX += bounds.Xmin; + matrix.translateY += bounds.Ymin; matStr += convertMatrix(matrix); matStr += ""; if ((tag instanceof DefineTextTag) || (tag instanceof DefineText2Tag)) {