mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 17:08:12 +00:00
Fixed: Only last DoInitAction tag displayed
This commit is contained in:
@@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
|
||||
- #1489 AS1/2 direct editation - for in loop
|
||||
- #1490, #1493 AS1/2 direct editation - cast op
|
||||
- AS1/2 cast op decompilation
|
||||
- Only last DoInitAction tag displayed
|
||||
|
||||
## [13.0.3] - 2021-02-12
|
||||
### Added
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.timeline;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
@@ -447,7 +448,7 @@ public class Timeline {
|
||||
if (asm instanceof DoInitActionTag) {
|
||||
DoInitActionTag initAction = (DoInitActionTag) asm;
|
||||
String path = swf.getExportName(initAction.spriteId);
|
||||
String path = swf.getExportName(initAction.spriteId);
|
||||
path = path != null ? path : "__doinit__" + initAction.spriteId;
|
||||
if (path.isEmpty()) {
|
||||
path = initAction.getExportFileName();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user