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 issues](/flash/images/issue_list.png)
#1694 WARNING the SVG tag 'use' is not supported.
Author:
GeekyGami
![user user](/flash/images/user.png)
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
Replacing any shape with the following shape produces the issue, regardless of
bound-updating.
> What is the expected output? What do you see instead?
Expected output is my SVG being in imported into the game, replacing the old one.
Instead the shape becomes entirely empty.
This did not occur prior, with this exact SVG, which was prior not seen as problematic.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Windows.
I have replicated this on 1.4.2 up to nightly, I've tried all the builds up to that
point.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
The problem isn't related to a specific swf file, this has happened in all the ones I have
tried this in.
The SVG might cause issue, but it was previously not problematic.
I don't want to go back too far release-wise, because I wanted to put the new sprite shape
interface modification to good use.
![Download](/flash/images/disk.png)
It seems that this SVG file is an exported Sprite which contains references to other
sprites.
In the SVG file, these references are made by "use" XML tags.
"use" XML tags are not supported for Shape import.
If you want to replace a shape (DefineShape, DefineShape2,...) with a SVG file, make sure
you import the SVG file that was made by Shape export(DefineShape, DefineShape2,...), not
Sprite export (DefineSprite).
State: new→opened
Type: bug→question
Type: bug→question
Ah, I see.
It previously imported just fine regardless, but now it doesn't.
Why is that?
Got it.
Saving as plain SVG in InkScape seems to have fixed it.
Guess I'll do some batch exports.
Thanks for clearing that up.
ok, you're welcome.
State: opened→closed