If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2677 Export of subframes appears to be not working
Author:
Astariul
AstariulDate created:
Type: question
Visibility: Everybody
Assigned to:
Labels: Commandline
State: closed 

> What steps will reproduce the problem?
In the linked SWF file, try to export the frame #2 of the sprite with chid=157, specifying
the right number of subframes (174). Command :
```
.\ffdec-cli.exe -zoom 2 -selectid 157 -select 2 -sublength 174 -export sprite out o4.swf
```
> What is the expected output? What do you see instead?
The sprite with chid=157 has 5 frames. The second frame is an animation (via subframes).
The animation is properly displayed in the GUI, but when I try to export this via the
command above, all the exported images are the same.
I expected some images to "evolve" over time in order to reproduce the animation as
displayed in the GUI.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Windows 11, FFDec v25.1.3
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
o4.swf (5,278 KiB)For selecting specific frame inside a sprite, you must use this syntax:
```
.\ffdec-cli.exe -zoom 2 -selectid 157 -select 157:2 -sublength 174 -export sprite out
o4.swf
```
Note the prefix "157:" before the frame. This means the frame number belongs to sprite
157.
State: new→opened
Type: bug→question
Type: bug→question
Thanks, working like a charm !
State: opened→closed
