From 2d8c3dc4f04f7e89b79a9fdd157056ba004906cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sun, 28 Jul 2013 09:00:17 +0200 Subject: [PATCH] Issue #235 Export FLA: incorrect Dynamic Text Fields coordinates. --- trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index a005bfb8e..18eb95103 100644 --- a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -2236,6 +2236,10 @@ public class XFLConverter { } else { matrix.translateX += bounds.Xmin; matrix.translateY += bounds.Ymin; + + //I do not know why, but there is (always?) 2px difference + matrix.translateX += 2 * 20; + matrix.translateY += 2 * 20; } matStr += convertMatrix(matrix); matStr += "";