: 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.
State: upgraded new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
Problem to insert variables..
I'v been using 'JPEXS Free Flash Decompiler' well..
But there's something the matter with this file..
This swf movie is game that hit the answer.
Answer is putting 8 carrots into a basket.
I insert 2 variables into this actionscript frame 2691.
line 7 : var kk = 1;
line 8 : var ss = "ks";
But there is a problem.
I never hit the answer.
There is no use removing 2 lines as original.
So what's the problem??
There is 2 attachments.
So, the situation is:
1) On the beggining the SWF game works (correct carrots)
2) Then you edit frame 2691 and add the two variables, hit save
3) Now when you run the SWF game, it does not work as in 1), true?
Also please try these steps:
1) Reset the SWF as was before modification
2) Pres edit button on frame 2691
3) insert a space on the beginning of the script and then remove that space
(this way "Save" button gets enabled and you can use it to save same code)
4) Press that save button and main save button on the top panel
5) Try to run the SWF file again and tell us whether it works now or not
We need to know whether there is problem even when nothing changed or the wrong part is
really inserted with those two variables.
Unfortunately, I cannot test it myself. I tried to run that game and I don't understand
language of the game - I don't know what to do to try the critical part myself.
Attached simplified swfs.
Open 0003_modified_ok.swf in a browser, drag the 8 carrots to the basket, accepts it
Edit frame23 DoAction tag in this swf in FFDec (enough to recompile without modification)
(This will be the 0003_modified_wrong.swf)
Try it again in browser, drag the 8 carrots to the basket => wrong
Thanks for your interest.. JPEXS, honfika.
Attached honfik's swfs(changed 1 frame - gotoAndPlay to 'gotoAndStop' )
I suppose it doesn't variables matter..
Tried inserting and removing a space in frame 23
But the result is the same.. still doesn't work.