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.

#1861 Some text are missing, and can only be viewed in texts tag
Author:
nissanjp

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

> What steps will reproduce the problem?
open attached swf
> What is the expected output? What do you see instead?
full text. Missing
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
ffdec_16.0.4_nightly2133. Win10
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.


This SWF does not contain appropriate PlaceObject tag to place the text on the frame.
You can try run in in flashplayer (for example flash projector).
You won't see the text either.
You need to add PlaceObject tag, set appropriate characterId to it.
State: new→opened
Type: bug→question
Type: bug→question
any automatic tool to fix?
You got more than single file with this problem?
You can make script which calls ffdec to export SWF to XML,
ten process the XML and then import the XML back.
I won't implement this kind of script, sorry.
Yes. I have exported xml, but how to fix it in xml?
Can you provide a sample result after fix?
Here is modified SWF file with added PlaceObject2 placing DefineEditText (789).
You can export it to XML and compare with original SWF XML export.

Thank you. Your swf can be displayed in IE and there is no popup hint at IE bottom to
allow display.
Original swf will pop up a hint at IE bottom, don't know why.
Is it possible to edit source code for export swf to pdf to exclude some tags or images in
base64 format?
I compared and found you added this: <PlaceObject2 replace="0" depth="10"
objectID="789"/>
After that, the original tag is below. The order of your tag and below tag does not
matter, right? Either tag can appear earlier or later.
<CSMTextSettings objectID="789" useFlashType="1" gridFit="1"
thickness="0.000000000000000" sharpness="0.000000000000000"/>
You are right. The CSMTextSettings should be before the PlaceObject2 tag, my bad (the
attachment corrects it)
Ad "Is it possible to edit source code for export swf to pdf to exclude some tags or
images in
base64 format?"
You can edit the XML as you want. You can also edit in FFDec. Or maybe I don't understand
your question.

I mean how to edit your ffedc source code to modify the function to export PDF frame. I
want to exclude some tags.
When I try to build ant in myeclipse, errors occurred. Don't know how to build and exclude
tags for frame export.
It would be easier to modify the XML to remove some tags instead of modify FFDec source
code.
I am afraid I cannot successfully describe or navigate you how to modify FFDec PDF export
source code. It is a lot of work, I think you won't be able to properly understand what's
going on in there.
Ok. Is it possible to use gnujpdf to delete some images or string from pdf?
gnujpdf only generates PDF from operations on standard Java Graphics2D object,
like draw, fill, drawImage, etc.,
it does not process existing PDF files, so no.
Ok. I tried pymupdf, sometimes, there is error.
I have not found sample code for itext to delete images/string from pdf.
State: opened→closed