JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#921 Export of html DefineEditText to SVG
Author: user lroos
Date created:
Type: feature
Visibility: Everybody
Assigned to: developer honfika
Labels: SVGText
State: closed Help

> What steps will reproduce the problem? Export frames from attached swf into svg > What is the expected output? What do you see instead? Some text labels do not appear in the svg output. These text labels do appear when exporting to png > What version of the product are you using? On what operating system? 5.3.0 nightly 609, Windows 8 > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE Looking at the SWF, the missing text is all defined as DefineEditText tag with readonly=1, html=1 and there's some html content e.g. <p align="center"><font face="Myriad Pro Semibold" size="11" color="#ffffff" letterSpacing="0.000000" kerning="1">1</font></p>. I have a feeling that might not be fully supported. Looking at the SVG output, there are <use> elements, but the text elements they refer to are missing e.g. <use xlink:href="#text1"/> but no <g id="text1"> exists.
DownloadCZAL112.swf (35 KiB)
Yes, that's true, some edit text features are not supported currently in SVG export. They have a todo comment in the code, too:) So I change this issue to feature request.
Type: bug→feature
Assigned:developer honfika
Oh that's too bad. Maybe as a temporary fallback it uses the staticTextToSVG method so something comes out? It is effectively static text if it is readonly. Otherwise I'll need to convert all my flash to use static text first
Please try the latest nightly build. I've added basic edit text svg export support, but still not complete (for example the border is not rendered for SVG and HTML5 canvas export, yet, see todo comment in line 944) And as you said, now it uses staticTextToSVG... do you need a real editable text field in SVG? HTML5 export is generating static texts only, too.
State: new→upgraded
I've fixed a text position bug, so now the numbers should be at the correct position.
border was implemented, too. There are still some todo comments in, so if you find something which is different in flash player from internal viewer (or svg export), then please attach the swf file. (And specify which text tag is wrong) If you need editable text fields in html5/svg export, then please create new feature request. (I don't think that the current way with exporting as static text is a bug)
I close this issue due to inactivity. Please create new issue if problem persists.
State: upgraded→closed