JPEXS Free Flash Decompiler Issue Tracker

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 issuesList of issues

#2405 Frames getting Deleted Upon Saving and Closing / Reloading
Author: user ADTempest
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? In the provided Flash File SharedLibrary.swf. Add ShowFrames to DefineSprite chid (1353, exp: rankAllCombinedSmall2_UseThisOne). Try copying and pasting previous frames to create new frames in the sprite. Then copy and paste the contents from Frame 40 and paste onto any newly created frames. > What is the expected output? What do you see instead? The expected output is that the content is saved and that the doaction scripts listed under the scripts category are saved since we copied the frames which already had doaction scripts. What happens instead is that once the file is saved the added contents seemed to be removed from the file and some frames are also removed from the sprite as well. (An example, add new frames to increase the frame count from 49-51. Add content from Frame 40 into frame 51. Save and reload the Flash File. Frames 49-51 get removed and now the sprite only has 48 frames.) > What version of the product are you using? Is it "nightly build"? Which operating system do you have? I'm on Windows 11. Version 22.0.5 nightly build 3025. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. It sometimes reports an invalid ID when loading the file that is able to be removed but the problems persist. I notice when reloading the Flash File that it keeps the correct Frame Count listed in "Raw Edit" but the added frames are still gone. I attached the Flash File in question SharedLibrary.swf. Attached Images I think will help: BeforeAdding - Shows the frames within the sprite before adding new frames. AfterAdding - Shows a new frame added with the contents from Frame 40 being added to Frame 55 as an example. AfterSaving1 - The Raw Edit shows 55 frames in the sprite. AfterSaving2 - However, Frames 49-55 have been deleted and are unviewable. Same with the DoActionScripts. DefineSprite - The sprite itself so you can find it easy. Thank you in advance.
user
I couldn't replicate this; everything works fine here. The only thing that is not copied is the DoAction tag, which can be done if you switch to "Tag list" view.
user
OK, after some work with v.22.0.2, I had something similar happen to me. Some tags that I had deleted (in the same session, but several file saves ago) suddenly reappeared, and seemingly only the changes since I hit Reload button remained. It happened after I used once the Reload button, makes me believe this is the problem part. It's as if Reload button didn't reload the latest saved file, but the earliest, since FFDec was opened. Again, I saved the file at least 3-4 times during the work, with different name each time. I couldn't clearly replicate this behaviour, so in the end I'm not sure if Reload button is to blame.