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 issues](/flash/images/issue_list.png)
#2164 export as3 with assets.swf will set hasEndTag with true
Author:
ukuq
![user user](/flash/images/user.png)
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Sprites
State: new ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
Place the mouse cursor over the 'scripts' folder, right-click, and select 'Export
Selection'. Once the export is completed, open the '_assets/assets.swf' file. The
'hasEndTag' property of the 'DefineSprite' component within it will be set to 'true'.
> What is the expected output? What do you see instead?
The hasEndTag should be same with the origin file
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v20.0.0 not-nightly win11
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
in the origin file
<html>spriteId : UI16 = 499</html>
<html>frameCount : UI16 = 12</html>
<html>hasEndTag : boolean = false</html>
<html>forceWriteAsLong : boolean = true</html>
after export, the id will be 41
in the _assets/assets.swf file:
<html>spriteId : UI16 = 41</html>
<html>frameCount : UI16 = 12</html>
<html>hasEndTag : boolean = true</html>
<html>forceWriteAsLong : boolean = true</html>
as above, the hasEndTag has changed!
![Download](/flash/images/disk.png)
Are you sure you are comparing the assets.swf file coming from this MapPanel.swf?
Because we do not renumber spriteIds. The same sprite should have same id in original swf
as in assets.swf.
I tried to reproduce this and I could not find sprite with id 41 in assets.swf,
but I found sprite 499, and it had same hasEndTag as in original.