JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

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

List of issuesList of issues

#2115 Put assets outside of scripts package
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? Try to export an SWF with assets > What is the expected output? What do you see instead? Expected: assets to be put outside of scripts folder Instead: ssets will be put in the folder with scripts, and in [Embed] paths will relate to this folder > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Version 19.1.2 nightly 2677 > 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 am trying to compile the exported SWF with IntelliJ IDEA Flash plugin and flex sdk 4.6. The problem is that when assets are put alongside with the sources, IDEA copies all the assets to the build folder after each build. If I put assets to the project root folder and set paths in [Embed] to make them point to this folder, IDEA does not copy assets.
Oh, it looks like I could just mark the assets package in IDEA as "Excluded" and it would not copy it to the build. But anyway, I think that having this option in FFDec would be great.
It also would be really cool if I could specify base package name when exporting.
What do you mean by specifying base package name? Could you explain it a bit more.
Lets say I have an SWF which has all its classes right in the "scripts" node in the tree in the FFDec. When exporting I would like to specify a package in which all those scripts will be put.
Ad "I would like to specify a package in which all those scripts will be put" This does not make any sense, since scripts may contain references to that package and thus all that scripts need to be updated. There's no way to make it cleanly. This is very specific to your kind of SWF which has ALL classes in toplevel package, where it could work, but on regular files where this is not a rule, it will fail. I don't want to implement anything that would require this specific style of SWF file. It should work globally.
Okay, no problem, thanks.