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.

Error: Please login first to download files from the Issue Tracker. You can register for free.
List of issuesList of issues

#864 Export and Replace Shapes
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: Shapes
State: closed Help

Hey, I'm looking for a way to replace shapes in an swf file, by using shapes from another swf file. Basically, I was hoping to be able to replace a shape with an exported "shape file". That shape would then be exchanged, but the original id will be kept the same (I suppose that could change and then you could manually change it). Hope that makes sense! Pluckerpluck
You can move the shape tag from your source filr to your targer file Just open both swf file, and right click to the shape in the tag tree of the source shape, and select "copy (or move) tag to..."
Then you can change the of of your "new" shape with raw editing, then delete the old one.
I wouldn't mind that so much if it wasn't so painful to use. Often, after moving one or two the entire left pane will just stop working and I'll only be able to click certain things above a certain point. This can sometimes happen on the first move, which makes it impossible to work with. Even if it did work, I find it difficult scrolling up and down and up and down the side panel to get to what I want to find. Moving more than a couple of shapes is really slow work without any problems. It might be because I'm working with files that have hundreds of shapes though. That's why I wanted the ability to export/replace shapes. Exporting could extract a subset of shapes that I want from one file, then they'd be easy to find when I want to replace the other ones. I suppose it wouldn't be as bad without the scroll pane issues though.
Then please create a bug about "only be able to click certain things above a certain point" You can also try XML export + import. Export both swfs, and copy the required shapes (xml nodes) from the source swf.xml to the target.xml, then import the target swf from the XML file
Will do, I'll test it a bit first to try and find the cause. The XML export seems like a decent workaround till then.
Also please try the latest nightly build. Now you can move multiple tags.
With the latest version you can copy a tag from one swf to another with it's dependencies. So if your shape is using an image tag, then ffdec will copy the image tag, too (and also updates the character ids) with this functionality i think it is very easy to replace a shape may i close this issue?
This helps massively. Thanks a lot! And yes, you can close the issue.
With the latest nightly build you can replace the shapes/sprites from context menu (so raw editing is not needed anymore, but you still need to copy - with dependenies - the target cahracter tag) I've created a small tutorial (attached here) about replacing a sprite. Please try it. Then I'll close this issue.
Assigned:
Sorry, something is wrong with the nightly build creating, so please wait for the next build. (version >= 469)
Released now, you can try it.
This works amazingly! Simplifies the process greatly into a few clicks. Thanks.
Ok, then I close this issue now. If you find any problem just create a new issue.
State: new→closed