If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#238 if block contents are missing
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2
State: closed 

> What steps will reproduce the problem?
Open attached file.
Find DefineSprite_4\frame 1\DoAction.as
Find the following if statement:
if(klist_scroll==true)
{
}
> What is the expected output? What do you see instead?
Expected: in 1.6.5u1 it was:
if(klist_scroll==true)
{
if(klist_scroll_vt=="dong")
{
switch(klist_scroll_align)
{
case "l":
this._x=klist_x-w_bg+klist_scroll_close_missx;
this._y=klist_y;
break;
case "r":
this._x=klist_x+w_bg-klist_scroll_close_missx;
this._y=klist_y;
break;
case "t":
this._x=klist_x;
this._y=klist_y-h_bg+klist_scroll_close_missy;
break;
case "b":
this._x=klist_x;
this._y=klist_y+h_bg+klist_scroll_close_missy;
break;
}
}
}
> What version of the product are you using? On what operating system?
1.6.6, win7 x64
> 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
Sorry, forget to attach the file.
in the same file: DefineSprite_13\frame 1\DoAction.as
if(time<register4&&time<register6)
{
i=vttext;
while(true)
{
break;
}
return "";
}
In 1.6.5u1 was:
if(time<register4&&time<register6)
{
i=vttext;
while(!(i<0))
{
if(time>textwaSec(arrtext[i].ketthuc))
{
vttext=i;
break;
}
i--;
}
return "";
}
Sorry again, I attached wrong swf... sorry. This is the correct, you can remove the
previous.
Another issue: DefineSprite_26\frame 1\DoAction.as
Wrong:
bt_previous.onRelease=function()
{
eval("ads"+adsdangshow)._visible=false;
adsdangshow--;
hien();
};
in 1.6.5u1 was:
bt_previous.onRelease=function()
{
"ads"+adsdangshow._visible=false;
adsdangshow--;
if(adsdangshow<0)
{
adsdangshow=adslist.length-1;
}
hien();
};

State: new→opened
version 1.6.6u1 was released
This should be fixed
State: opened→upgraded
yes, it is fixed, thank you
State: upgraded→closed