#691 Problem with v3 when editing SWF already edited in prevs versions
Assigned to: JPEXS
> What steps will reproduce the problem? Edit any SWF that was edited in the previous versions, change for example an string. > What is the expected output? What do you see instead? The produced SWF does not work, or it is in another format. For example in my case I have not visibility of all the classes in the AS3 section. Do a diff with the previous ver. of the SWF and the difference is HUGE. > What version of the product are you using? On what operating system? Win 7, comparing FFDEC v2.1.4 and v3 > 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
Please provide us your "any SWF". And define "an string". We need to reproduce the bug to fix it. You directly edited AS3 code? Or the P-code on the right? I can make this issue private if you do not want to make your SWF public.
No problem, here is the SWF, if you edit for example: videochat.as script function frame2 line 2918 this.xmlData = new XML(); this.xmlFile = "v17.xml" + "?" + Math.random(); change v17.xml for v16 using FFDEC v3, produces an SWF file that just doesnt work Using v2.1.4 is just fine.
vipAug1_mod.swf (223 KiB)
And you edit AS directly or via P-code? There are two edit buttons. On the left with label "Experimental" and the second on the right. If you edit it with the left button and immediately press save (no changes) then the class is damaged in both 2.1.4 and 3.0.0. I will investigate and try to fix the bugs. Meanwhile you can use the Edit button on the right side, which is more stable (P-code, just change the string there).
Assigned: → JPEXS
Yes I know that JPEXS, I was editing the P-code sucesfully in the previous versions, in this version some problem is happening. I edited the string in the P-code window.
Please try newest nighlty build. I think the P-code editing should be okay again.