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.

#2445 how to compress. to reduce the size of a game.
Author:
DanBreiner

Date created:
Type: question
Visibility: Everybody
Assigned to:
State: new 

Hi, I hope you can help me with this. I would like to compress a game (Behind the dune) as
it has some performance problems, I would like to try to optimize the game by reducing the
size of the images inside the game. Do you have any idea how to achieve this? Thank you.
The best way to reduce file size is by using vector graphics instead of raster- something
that is best done at development stage, and not when the flash is already full of rasters.
If it is reducing the resolution of raster images inside flash, they will have to be
exported by FFDec, resized by some external application (there are plenty of those out
there), then imported back. Importing them one by one is going to be tedious, and mass
import may be tricky. However note that resizing images may shift their positions around
on the screen, depending on how shape/sprite placing is implemented; fixing this is
nothing short of a nightmare.
BTW what do you mean performance problems? It is common for flash to be choppy, more
pronounced on hi-res displays, because all drawing is done in CPU.
The problem is that the longer you have the game open, the laggier it gets. Still, thanks
for the really clear and helpful response. I don’t think there’s much that can be
done. Honestly, the best thing would be for the creator to move the game to a different
engine.