List of issuesList of issues

#920 Export instance name to SVG use element
Author: user lroos
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: SVG
State: closed Help

My SWF file has a number of named symbol instances (PlaceObject2 with name attribute). We would like to export each frame of the SWF separately to SVG but preserve this name data. The SVG output contains one Use element per PlaceObject2. I would expect the name to be added to this element in some way such as the id attribute, e.g. <use id="name1" xlink:href="sprite1" />. This is required so that we can still identify certain elements in the SVG programatically. I browsed the code on Github and found where addUse is being called but couldn't determine if it is possible to get the name out. Would this be a quick fix?
DownloadCZAL112.swf (35 KiB)
Please try the latest nightly build
State: new→upgraded
hi honfika, I've tested on the nightly build and it works as expected. Very impressed, thank you for the quick turnaround
State: upgraded→closed
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic