: 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.

List of issuesList of issues

#203 editing AS directly shows error when trying to save
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Direct Editation
State: closed Help

> What steps will reproduce the problem? Open attached swf. Open frame1/DoAction Press Edit (experimental) Press Save > What is the expected output? What do you see instead? Current: CURLY_CLOSE expected but DOT found on line 14 Expeced: saving is successful. > What version of the product are you using? On what operating system? 1.6.4u1 > 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
Download1.swf (3 KiB)
developer
Similar issues in this attached file. DefineSprite (1): IDENTIFIER or THIS or SUPER expected but LENGTH found on line 8 DefineSprite (2): PARENT_CLOSE expected but FALSE found on line 3 DefineSprite (14): CURLY_CLOSE expected but TRUE found on line 4 DefineSprite (20): COMMA or PARENT_CLOSE expected but MINUS found on line 10 DefineSprite (26): PARENT_CLOSE expected but BRACKET_OPEN found on line 4 DefineSprite (29): CURLY_CLOSE expected but STRING found on line 6
Download2.swf (70 KiB)
admin
State: new→opened
admin
Version 1.6.6 was released. Direct editing was totally rewriten, it should be better now, try it.
State: opened→upgraded
developer
When i try to edit and save the code in the 1.sfw, the saved code will be diffrent. Here is a small example: Try to save this: function plugins(tex) { tex=tex.split("\\\"").join("\""); tex=tex.split("\\\"").join("\""); } After saving i got: function plugins(tex) { var tex=tex.split("\\\"").join("\""); tex=tex.split("\\\"").join("\""); } After editing and saving again: function plugins(tex) { var register2=tex.split("\\\"").join("\""); register2=register2.split("\\\"").join("\""); }
admin
State: upgraded→returned
admin
State: returned→opened
admin
version 1.6.7 released it should be better, try it
State: opened→upgraded
developer
Yes, it is much better, I haven't found any problem except issue #264 ("true" statements in the decompiled code) I'll test it further, and create a new issue when i find new problems. Thanks.
user
Checked all reported by honfika bugs in this issue - looks like everything is fine in 1.7.0!
developer
Yes, the previously reported problems was already fixed in 1.6.7. The only problem in 1.6.7 was the "true" statements. You can close this issue, I haven't found any new problem. I'll create new issue if found new problems.
admin
Okay, thank you for testing this. I want this to be "killer" feature. It is still marked as Experimental, because Editing is very "risky" and there are surely some bugs hidden inside. I am closing this, feel free to create new issues for more bugs...
State: upgraded→closed
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic