This commit is contained in:
honfika@gmail.com
2016-03-10 21:27:50 +01:00
parent 58f58b584b
commit 904b0965a2

View File

@@ -1252,7 +1252,7 @@ public class XFLConverter {
if (symbol instanceof ButtonTag) {
itemIcon = "0";
symbolStr.writeStartElement("DOMTimeline", new String[]{"name", "Symbol " + symbol.getCharacterId(), "currentFrame", "0"});
symbolStr.writeStartElement("<layers>");
symbolStr.writeStartElement("layers");
ButtonTag button = (ButtonTag) symbol;
List<BUTTONRECORD> records = button.getRecords();
@@ -1270,7 +1270,7 @@ public class XFLConverter {
symbolStr.writeStartElement("isSelected", "true");
}
symbolStr.writeStartElement("color", randomOutlineColor());
symbolStr.writeStartElement("<frames>");
symbolStr.writeStartElement("frames");
int lastFrame = 0;
loopframes:
for (int frame = 1; frame <= 4; frame++) {