/** * Constructor * * @param sis * @param data * @throws IOException */ public PlaceObject2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, "PlaceObject2", data); placeFlagHasClipActions = sis.readUB(1, "placeFlagHasClipActions") == 1; placeFlagHasClipDepth = sis.readUB(1, "placeFlagHasClipDepth") == 1; placeFlagHasName = sis.readUB(1, "placeFlagHasName") == 1; placeFlagHasRatio = sis.readUB(1, "placeFlagHasRatio") == 1; placeFlagHasColorTransform = sis.readUB(1, "placeFlagHasColorTransform") == 1; placeFlagHasMatrix = sis.readUB(1, "placeFlagHasMatrix") == 1; placeFlagHasCharacter = sis.readUB(1, "placeFlagHasCharacter") == 1; placeFlagMove = sis.readUB(1, "placeFlagMove") == 1; depth = sis.readUI16("depth"); if (placeFlagHasCharacter) { characterId = sis.readUI16("characterId"); } if (placeFlagHasMatrix) { matrix = sis.readMatrix("matrix"); } if (placeFlagHasColorTransform) { colorTransform = sis.readCXFORMWITHALPHA("colorTransform"); } if (placeFlagHasRatio) { ratio = sis.readUI16("ratio"); } if (placeFlagHasName) { name = sis.readString("name"); } if (placeFlagHasClipDepth) { clipDepth = sis.readUI16("clipDepth"); } if (placeFlagHasClipActions) { clipActions = sis.readCLIPACTIONS(swf, this, "clipActions"); } }
/** * Constructor * * @param sis * @param data * @throws IOException */ public ExporterInfoTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, "ExporterInfo", data); this.version = sis.readUI16("version"); if (this.version >= 0x10a) { flags = sis.readUI32("flags"); } bitmapFormat = sis.readUI16("bitmapFormat"); int prefixLen = sis.readUI8("prefixLen"); prefix = sis.readBytesEx(prefixLen, "prefix"); int swfNameLen = sis.readUI8("swfNameLen"); swfName = new String(sis.readBytesEx(swfNameLen, "swfName")); if (sis.available() > 0) // (version >= 0x401) //? { codeOffsets = new ArrayList<>(); int numCodeOffsets = sis.readUI16("numCodeOffsets"); for (int i = 0; i < numCodeOffsets; i++) { codeOffsets.add(sis.readUI32("codeOffset")); } } }
/** * Constructor * * @param sis * @param data * @throws IOException */ public EnableDebuggerTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, 0, false, false, false); }
/** * Constructor * * @param sis * @param data * @param level * @param parallel * @param skipUnusualTags * @throws IOException * @throws java.lang.InterruptedException */ public DefineSpriteTag( SWFInputStream sis, int level, ByteArrayRange data, boolean parallel, boolean skipUnusualTags) throws IOException, InterruptedException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, level, parallel, skipUnusualTags, false); }
/** * Constructor * * @param sis * @param data * @throws IOException */ public DefineGradientMap(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, 0, false, false, false); }
/** * Constructor * * @param sis * @param data * @throws IOException */ public DefineExternalImage2(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, 0, false, false, false); }
/** * Constructor * * @param sis * @param data * @throws IOException */ public DefineButtonCxformTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, 0, false, false, false); }
public SymbolClassTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); readData(sis, data, 0, false, false, false); }