mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 02:27:36 +00:00
add new tag fixes
This commit is contained in:
@@ -71,6 +71,7 @@ public class DefineBinaryDataTag extends CharacterTag {
|
||||
*/
|
||||
public DefineBinaryDataTag(SWF swf) {
|
||||
super(swf, ID, "DefineBinaryData", null);
|
||||
tag = swf.getNextCharacterId();
|
||||
}
|
||||
|
||||
public DefineBinaryDataTag(SWFInputStream sis, ByteArrayRange data) throws IOException {
|
||||
|
||||
@@ -100,6 +100,8 @@ public class DefineButton2Tag extends ButtonTag implements Container {
|
||||
*/
|
||||
public DefineButton2Tag(SWF swf) {
|
||||
super(swf, ID, "DefineButton2", null);
|
||||
buttonId = swf.getNextCharacterId();
|
||||
characters = new ArrayList<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -100,6 +100,9 @@ public class DefineButtonTag extends ButtonTag implements ASMSource {
|
||||
*/
|
||||
public DefineButtonTag(SWF swf) {
|
||||
super(swf, ID, "DefineButton", null);
|
||||
buttonId = swf.getNextCharacterId();
|
||||
characters = new ArrayList<>();
|
||||
actionBytes = new ByteArrayRange(new byte[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -709,6 +709,7 @@ public class DefineEditTextTag extends TextTag {
|
||||
super(swf, ID, "DefineEditText", null);
|
||||
characterID = swf.getNextCharacterId();
|
||||
bounds = new RECT();
|
||||
variableName = "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -75,6 +75,7 @@ public class DefineShapeTag extends ShapeTag {
|
||||
super(swf, ID, "DefineShape", null);
|
||||
shapeId = swf.getNextCharacterId();
|
||||
shapeBounds = new RECT();
|
||||
shapes = new SHAPEWITHSTYLE();
|
||||
}
|
||||
|
||||
public DefineShapeTag(SWFInputStream sis, ByteArrayRange data) throws IOException {
|
||||
|
||||
@@ -102,6 +102,7 @@ public class DefineSoundTag extends CharacterTag implements SoundTag {
|
||||
*/
|
||||
public DefineSoundTag(SWF swf) {
|
||||
super(swf, ID, "DefineSound", null);
|
||||
soundId = swf.getNextCharacterId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -481,6 +481,7 @@ public class DefineText2Tag extends TextTag {
|
||||
super(swf, ID, "DefineText2", null);
|
||||
characterID = swf.getNextCharacterId();
|
||||
textBounds = new RECT();
|
||||
textRecords = new ArrayList<>();
|
||||
glyphBits = 0;
|
||||
advanceBits = 0;
|
||||
}
|
||||
|
||||
@@ -442,6 +442,7 @@ public class DefineTextTag extends TextTag {
|
||||
super(swf, ID, "DefineText", null);
|
||||
characterID = swf.getNextCharacterId();
|
||||
textBounds = new RECT();
|
||||
textMatrix = new MATRIX();
|
||||
glyphBits = 0;
|
||||
advanceBits = 0;
|
||||
}
|
||||
|
||||
@@ -104,6 +104,7 @@ public class DefineVideoStreamTag extends CharacterTag implements BoundedTag {
|
||||
*/
|
||||
public DefineVideoStreamTag(SWF swf) {
|
||||
super(swf, ID, "DefineVideoStream", null);
|
||||
characterID = swf.getNextCharacterId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,6 +89,7 @@ public final class DefineCompactedFont extends FontTag implements DrawableTag {
|
||||
super(swf, ID, "DefineCompactedFont", null);
|
||||
fontId = swf.getNextCharacterId();
|
||||
fonts = new ArrayList<>();
|
||||
shapeCache = new ArrayList<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user