If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2702 JPEXS adds empty attributes to XML even when flag is set to false
Author:
demnd
demndDate created:
Type: bug
Visibility: Everybody
Assigned to:
State: new 

> What steps will reproduce the problem?
Export any SWF.
> What is the expected output? What do you see instead?
Attributes in XML that have the false flag should not be added.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v26.0.0
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
When exporting to XML, JPEXS sometimes adds empty attributes. For example, here
placeFlagHasClipActions="false" and placeFlagHasColorTransform="false" are set, but JPEXS
still adds empty clipActions and colorTransform attributes.
<item type="PlaceObject3Tag" bitmapCache="0" blendMode="0" characterId="101" className=""
clipDepth="0" depth="3" forceWriteAsLong="true" name="sortIcon"
placeFlagHasBlendMode="false" placeFlagHasCacheAsBitmap="false"
placeFlagHasCharacter="true" placeFlagHasClassName="false" placeFlagHasClipActions="false"
placeFlagHasClipDepth="false" placeFlagHasColorTransform="false"
placeFlagHasFilterList="true" placeFlagHasImage="false" placeFlagHasMatrix="true"
placeFlagHasName="true" placeFlagHasRatio="false" placeFlagHasVisible="false"
placeFlagMove="false" placeFlagOpaqueBackground="false" ratio="0" reserved="false"
visible="0">
<matrix type="MATRIX" hasRotate="false" hasScale="false" nRotateBits="0"
nScaleBits="0" nTranslateBits="12" rotateSkew0="0.0" rotateSkew1="0.0" scaleX="0.0"
scaleY="0.0" translateX="1197" translateY="-128"/>
<colorTransform type="CXFORMWITHALPHA" alphaAddTerm="0" alphaMultTerm="256"
blueAddTerm="0" blueMultTerm="256" greenAddTerm="0" greenMultTerm="256"
hasAddTerms="false" hasMultTerms="false" nbits="0" redAddTerm="0" redMultTerm="256"/>
<surfaceFilterList>
<item type="DROPSHADOWFILTER" angle="0.7853851318359375" blurX="1.0"
blurY="1.0" compositeSource="true" distance="2.0" id="0" innerShadow="false"
knockout="false" passes="1" strength="1.0">
<dropShadowColor type="RGBA" alpha="255" blue="0" green="0" red="0"/>
</item>
</surfaceFilterList>
<clipActions type="CLIPACTIONS" reserved="0">
<allEventFlags type="CLIPEVENTFLAGS" clipEventConstruct="false"
clipEventData="false" clipEventDragOut="false" clipEventDragOver="false"
clipEventEnterFrame="false" clipEventInitialize="false" clipEventKeyDown="false"
clipEventKeyPress="false" clipEventKeyUp="false" clipEventLoad="false"
clipEventMouseDown="false" clipEventMouseMove="false" clipEventMouseUp="false"
clipEventPress="false" clipEventRelease="false" clipEventReleaseOutside="false"
clipEventRollOut="false" clipEventRollOver="false" clipEventUnload="false" reserved="0"
reserved2="0"/>
<clipActionRecords/>
</clipActions>
<backgroundColor type="RGBA" alpha="0" blue="0" green="0" red="0"/>
</item>
craftingmenu.swf (84 KiB)