If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#424 ActionScriptParser.treeFromString generates unnecessary GetMember action
Author:
l12436
l12436Date created:
Type: bug
Visibility: Everybody
Assigned to:
JPEXS
JPEXSLabels: AS1/2
State: closed 

> What steps will reproduce the problem?
1.decompile this flash
http://gam.ebb.jp/swf/clock.swf
2.find frame4 and look the "placeobject2 (24)" Do Action
3. remove " if(this._url.split("/")[2] == "gam.ebb.jp"){" and the last "}"
by using the left editor, not pcode.
4. and you will find there are some extra code in the pcode "GetMember
Push undefined"
this cause i need to re-edit againg by using the pcode
> What is the expected output? What do you see instead?
"GetMember
Push undefined"
this two code should be delete
> What version of the product are you using? On what operating system?
ffdec: 1.7.4
OS: ubuntu 13.10
openjdk 7u25-2.3.12
> 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
test.swf (686 KiB)i found
this.gotoAndPlay(2);
this code you will generate
"GetMember
Push undefined"
these two pcode.
that should not be exist.
that two pcode cause the code abnormal
it should be like this
"
Push 2 1 "this"
GetVariable
Push "gotoAndPlay"
CallMethod
Pop
"
Title: →ActionScriptParser.treeFromString generates unnecessary GetMember action
It should be fixed in latest nightly build.
State: opened→upgraded
Closed due to inactivity.
State: upgraded→closed
