mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 10:10:42 +00:00
Added GFX - DefineExternalSound and DefineExternalStreamSound playback
This commit is contained in:
@@ -52,6 +52,7 @@ import com.jpexs.decompiler.flash.tags.base.RenderContext;
|
||||
import com.jpexs.decompiler.flash.tags.base.ShapeTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.SoundStreamHeadTypeTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.TextTag;
|
||||
import com.jpexs.decompiler.flash.tags.gfx.DefineExternalStreamSound;
|
||||
import com.jpexs.decompiler.flash.types.BlendMode;
|
||||
import com.jpexs.decompiler.flash.types.CLIPACTIONS;
|
||||
import com.jpexs.decompiler.flash.types.CXFORMWITHALPHA;
|
||||
@@ -565,11 +566,16 @@ public class Timeline {
|
||||
for (Tag t : tags) {
|
||||
if (t instanceof SoundStreamHeadTypeTag) {
|
||||
SoundStreamHeadTypeTag head = (SoundStreamHeadTypeTag) t;
|
||||
head.setVirtualCharacterId(containerId);
|
||||
head.setCharacterId(containerId);
|
||||
blocks = new ArrayList<>();
|
||||
soundStramBlocks.put(containerId, blocks);
|
||||
continue;
|
||||
}
|
||||
if (t instanceof DefineExternalStreamSound) {
|
||||
DefineExternalStreamSound externalStream = (DefineExternalStreamSound) t;
|
||||
externalStream.setCharacterId(containerId);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (t instanceof DefineSpriteTag) {
|
||||
DefineSpriteTag sprite = (DefineSpriteTag) t;
|
||||
|
||||
Reference in New Issue
Block a user