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

#1992 Add assets to the SWF
Author: user kolbdog32
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: closed Help

I am just wondering if you could make it so you can add assets to the swf like xmls, mp3s etcetra and files so you can play the swf as one game if the game has multiple levels and stuff so If you loose the files for the game levels and sounds you can still play them.
admin
I am not sure I understand. You can add new tags to swf file - DefineSound for sounds, DefineJPEG2, DefineBitLossess for images, DefineBinaryData for general binary data, etc. This all works in FFDec. You just need a little knowledge of how SWF format works (read the docs).
user
I meant I want to add missing levels like the xml files, or other swfs that are needed. Stuff that you can download from Developer tools so its all one game. So when you save it you don't need to have all assets in one folder.
user
Each game has different code for loading external asset files. To accomplish your goal, you would not only need to add tags for each asset into game - you would also need to figure out how the game's code works and make changes to it to load those added internal assets instead of the external files. This process can't be automated because every game's code is different.
admin
State: new→closed