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.
List of issues#979 Unnecessary/missing fully qualified name
Author: honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Decompilation
State: closed
> What steps will reproduce the problem?
Open ArpgClient.swf from issue tracker,
find \scripts\com\huanyou\ui\tip\EquipTip
> What is the expected output? What do you see instead?
current 6.0.1 stable (this was fixed by me):
public class EquipTip extends flash.flash.flash implements ITip
current nightly:
public class EquipTip extends flash.display.Sprite implements ITip
expected (because import exists for this class):
public class EquipTip extends Sprite implements ITip
> What version of the product are you using? Is it "nighlty build"? Which operating system
do you have?
6.0.1 stable + latest nightly
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Hmm, there are 2 Sprite imports:
import flash.display.Sprite;
import com.huanyou.data.Sprite;
in this case the FQN is really needed.. but is it possible to have 2 imports different for
the same classname?
*2 different imports
the two imports should be removed and FQN used in rest of the file for Sprite.
List of fullyQualifiedNames is used in FFDec for marking such classes.
Classes in this list should not be imported.
Could you please add test for this into as3.swf?
So for example:
classes.mypackage1.MyClass
classes.mypackage1.MyInterface
classes.mypackage2.MyClass
classes.mypackage2.MyClass but in a different maesapce (is it possible?)
classes.mypackage2.MyInterface
and a class which uses it:
classes.MyClass extends classes.mypackage2 implemets classes.mypackage1.MyInterface
{
+ some fake methods whic uses all of them
}
or similer, you can make it more complecated:)
Tests added to ActionScript3Test.java
The following test fails currently:
testMyPackage1TestClass
testMyPackage1TestClass2
testMyPackage1TestInterface
Title: Unnecessary fully qualified name→Unnecessary/missing fully qualified name
This is fixed I guess.
State: new→upgraded
Thanks
State: upgraded→closed