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.

#1284 Adding a DefineShapeTag and then replacing it with an already existing SVG file or PNG file results in a still empty shape (with a few changes in the tag info)
Author:
tigeros

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
- Adding a DefineShapeTag to an swf
- Rightclicking the DefineShape
- Replace with any file (tested with PNG, SVG)
> What is the expected output? What do you see instead?
Instead of the expected shape, the file outputs nothing, if I then export the "empty"
shape as e.g. PNG file, it's thumbnail will be a grey,blurry something and once opened is
a total emptiness. It also takes 0 Bytes on the disk but properties say it's 68 Bytes
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v.9.0.0 on Windows 8.1 (64-bit), no nightly builds or anything related to it
I will be linking an example PNG I exported to this issue

Is there any warning/error during the SVG import?
Did you set the shape bounds? (Right click on the new shape tag, raw edit, set shape
bounds.xmax and ymax to the required size in twips. 1 pixel is 20 twips)
I must admit, I am not very experienced in flash files and I will later on try to change
the bounds, since I havent done that. sounds like that is the reason this is happening
At least for the PNG import, it should work.
I also fixed now a problem with SVG import, but it occurs only sometimes, so probably in
your case the problem was the bounds.
You can also try the "Replace - Update bounds" command from the same context menu, it
automatically sets the bounds of the target shape tag.
State: new→upgraded
Oh boy its 5 minutes for one shape and 95 left. I will try this replace - update bounds
method,
if that doesn't work I would love a copy shape method since that would save me tons of
work. anyways, that works, thanks for your help
update: update bounds does not update anything if I insert a SVG file (since thats the
only thing I have of the shapes right now) Thanks for your help anyways, it works very
time taking, but it works and thats what counts :)
Could you please attach your swf and SVG file? And specify the steps, because i tried to
"import" (replace - update bounds) an SVG to a newly added defineshape tag, and the bounds
was set correctly.
State: upgraded→closed