JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1753 Export sprite PNG or SVG only export first frame
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: opened Help

> What steps will reproduce the problem? 1) Open SWF 2) Go to Sprites 3) Export mclObjectRef_2 or mclObject_1 as PNG o SVG > What is the expected output? What do you see instead? I expect a list of images/frames 1.png...2.png...3.png... The export only export the first frame like 1.png > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Windows 10 | JPEXS 14.5.2 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. I attach the SWF to reproduce the issue
Downloaddino.swf (19 KiB)
admin
The problem is that this Sprite has only single frame. The animation is there because the subsprites are animated. In FFDec, when you select sprite which has 1 frame, you will see that single frame with subanimations, but for export, only that single frame is exported. To export this animation, you could do a little trick: - Right click the sprite and in the context menu, select "Add tag->ShowFrame tag". This should add frames to the sprite. Add 4 new frames to total of 5 frames (5 because it seems that subsprites like mclColor0_sombra_3 has 5 frames). Then you can export the sprite usual way. I think this is not something that FFDec should do automatically. FFDec should export still frames as is, e.g. not subanimations.
State: new→opened
Type: bug→question
user
Hi, I encountered this problem too and tried the trick of adding more frames. However, when I export the Sprite as png, all of the frames are duplicates of the first frame with the subanimation. Can I ask if there is an updated method to resolve this?