mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 14:51:58 +00:00
test fla/swfs
This commit is contained in:
BIN
libsrc/ffdec_lib/testdata/as2/as2.fla
vendored
BIN
libsrc/ffdec_lib/testdata/as2/as2.fla
vendored
Binary file not shown.
BIN
libsrc/ffdec_lib/testdata/as2/as2.swf
vendored
BIN
libsrc/ffdec_lib/testdata/as2/as2.swf
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -16,7 +16,7 @@
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::timeStamp</name>
|
||||
<value>'28.02.2021'</value>
|
||||
<value>'08.03.2021'</value>
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::air</name>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::timeStamp</name>
|
||||
<value>'28.02.2021'</value>
|
||||
<value>'08.03.2021'</value>
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::air</name>
|
||||
|
||||
@@ -21,6 +21,7 @@ package
|
||||
TestChainedAssignments;
|
||||
TestComplexExpressions;
|
||||
TestContinueLevels;
|
||||
TestCompoundAssignments;
|
||||
TestDecl2;
|
||||
TestDeclarations;
|
||||
TestDeobfuscation;
|
||||
|
||||
52
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestCompoundAssignments.as
vendored
Normal file
52
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestCompoundAssignments.as
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestCompoundAssignments
|
||||
{
|
||||
private var attr :int = 0;
|
||||
|
||||
public function calc():int{
|
||||
return 5;
|
||||
}
|
||||
|
||||
public function run():void
|
||||
{
|
||||
/*var b:* = [10,20,30];
|
||||
|
||||
var a:int = 0;
|
||||
trace("a += 5");
|
||||
a += 5;
|
||||
|
||||
|
||||
b[calc()] = b[calc()] + 2;
|
||||
|
||||
var t:MyTest = new MyTest();
|
||||
trace("t.attr += 5");
|
||||
t.attr *= 10;
|
||||
|
||||
trace("attr += 5");
|
||||
attr -= 5;
|
||||
|
||||
trace("arr[2] += 5");
|
||||
b[2] += 5;
|
||||
|
||||
trace("arr[call()] += 5");
|
||||
b[calc()] /= 5;
|
||||
|
||||
b[calc()][calc()] &= 10;
|
||||
|
||||
try{
|
||||
trace("in try");
|
||||
}catch (e:Error){
|
||||
trace(e.message);
|
||||
} */
|
||||
var a:int = 0;
|
||||
trace(a += 10);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class MyTest {
|
||||
public var attr:int = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user