tags parameter removed where not needed

ImageFrame - resizing sprites to max of stage size
ButtonTag is Timelined
MorphShapeTag has getShapeAtRatio
using DefineButtonCxForm on Button1 timeline
This commit is contained in:
Jindra Pet��k
2014-03-05 18:19:14 +01:00
parent 7599463212
commit 1b58deff6b
20 changed files with 49 additions and 39 deletions
@@ -1336,7 +1336,7 @@ public class XFLConverter {
} else if (symbol instanceof ImageTag) {
ImageTag imageTag = (ImageTag) symbol;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
SerializableImage image = imageTag.getImage(tags);
SerializableImage image = imageTag.getImage();
String format = imageTag.getImageFormat();
try {
ImageIO.write(image.getBufferedImage(), format.toUpperCase(), baos);
@@ -1675,7 +1675,7 @@ public class XFLConverter {
ret += " soundSync=\"stop\"";
} else if (startSound.soundInfo.syncNoMultiple) {
ret += " soundSync=\"start\"";
};
}
soundEnvelopeStr += "<SoundEnvelope>";
if (startSound.soundInfo.hasEnvelope) {
for (SOUNDENVELOPE env : startSound.soundInfo.envelopeRecords) {