From 55f6e6bf650b0c344f2c033795bba7ec93286048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 13 Nov 2022 17:26:32 +0100 Subject: [PATCH] Fixed Sound not played on frames --- CHANGELOG.md | 1 + src/com/jpexs/decompiler/flash/gui/ImagePanel.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8033b49d..f102d2a5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file. - Storing SWF configuration for files inside bundles and/or binarydata - [#1846] blend modes with alpha - Raw editor does not select item in enum list +- Sound not played on frames ### Changed - Full path inside bundle is displayed as SWF name instead simple name diff --git a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java index 742f2532f..c03923a4d 100644 --- a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java @@ -2266,7 +2266,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay { } } - if (!shownAgain && !autoPlayed) { + if (!shownAgain && autoPlayed) { List sounds = new ArrayList<>(); List soundClasses = new ArrayList<>(); List soundInfos = new ArrayList<>();