List of issues
: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.
#632 Cannot save file
> What steps will reproduce the problem? Open file. Go to scripts > DefineSprite (28) > frame 1 > DoAction Attempt to edit on line 44: 'secs' to 'secos' Save AS Attempt to save SWF > What is the expected output? What do you see instead? Expected output is save is successful. See 'Cannot save file' error box instead. > What version of the product are you using? On what operating system? Does not work on any current versions which include: 2.1.0u2 2.1.1 2.1.2 2.1.2 nightly build 31c7cc0 Windows 8 64-bit > 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
loadingmenu.swf (14 KiB)
Can't reprodice the problem. What are you settings? I've attached the modified file.
3.swf (14 KiB)
Assigned: → honfika
Modified file is corrupt, all variables show up as NaN and undefined. Worked on previous versions of swf decompiler
Still don't know why old versions were taken down
I can't see any NaN, when i compare the decompiled AS code of the original and the modified file, only the fixed "secos" variable name is diffrent. When i start this swf, I can see only agray screen. How can Ireproduce your problem. And i can't see any "Cannot save file" dialog.
*How can I reproduce your problem?
It's a Skyrim menu screen. I don't know how to reproduce it except having the game. On previous versions of this program I could decompile and save the files just fine, now even just decompiling and changing nothing causes all the values to become NaN or undefined.
Unless someone can tell me how to compile old source code into a working program. Never should have upgraded.
What is last version of FFDec which worked for you? Could you tell?
The diffrence is between version 1.8.1u1 and 2.0.0 2.0.0 generates 2 extra GetVariable actions. Maybe this is the problem of myztikrice, but I'm not sure. myztikrice: Please could you try the 2 attached swfs?
Please try latest nightly build (0baab29 or later). Tell us if it's better. I think it was problem with the GetVariable before NewObject action. I know you could be mad about disabling downloads of older versions, but if you report bug like you did, we could fix it. If you would use older version without reporting the bug, it won't ever be fixed. I hope you understand. Thank you very much for cooperation.
I compiled the source of 1.7 and it was able to make changes to the swf file correctly.
Please do not use old versions. There are a lot of bugfixes/improvements in the new builds. If you have problem with the newer version, which was already working in an earlier version, please report it. We will fix it.
ok, so you used old version. Back to our problem: Is it working in latest nightly build or not? We would like the bug to be fixed, thanks. We can't test it ourselves.
I have this problem quite often with many swf's even with latest nightly builds. It seems no matter which swf file so I don't attach any. I've mentioned that it happens sometimes after AS2 editting. There weren't such a problem about few month earlier in prev builds. --------------------------------- at com.jpexs.decompiler.flash.gui.Main.saveFile(Main.java:354) at com.jpexs.decompiler.flash.gui.Main.saveFile(Main.java:319) at com.jpexs.decompiler.flash.gui.MainFrameRibbonMenu.actionPerformed(MainFrameRibbonMenu.jav a:814) at com.jpexs.decompiler.flash.gui.MainFrameRibbonMenu$1.actionPerformed(MainFrameRibbonMenu.j ava:201) at org.pushingpixels.flamingo.api.common.AbstractCommandButton.fireActionPerformed(AbstractCo mmandButton.java:616) at org.pushingpixels.flamingo.api.common.AbstractCommandButton$ActionHandler.actionPerformed( AbstractCommandButton.java:568) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at org.pushingpixels.flamingo.api.common.model.ActionRepeatableButtonModel.setPressed(ActionR epeatableButtonModel.java:123) at org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonListener.mouseReleased(Bas icCommandButtonListener.java:147) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Forgot to say that if I try to save with other file name than source file it saving without problems. So it seems that the problem is in that FFDec sometimes can not rewrite source swf file...
Please try newest nightly build, it should be fixed now.
Seems that problem was fixed, thanks.