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

#1694 WARNING the SVG tag 'use' is not supported.
Author: user GeekyGami
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed Help

> 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.
Download7.svg (14 KiB)
admin
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
user
Ah, I see. It previously imported just fine regardless, but now it doesn't. Why is that?
user
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.
admin
ok, you're welcome.
State: opened→closed