JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#1088 EcmaScript number to string conversion wrong
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? Build run_as2 and run_as3 projects. In FlashPlayerTest.java enable testAs2 and testAs3 methods. Fix them. The conversion is in EcmaFloatingDecimal.java, this is a modified version of the Java's FloatingDecimal class. > What is the expected output? What do you see instead? expected: test success > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 7.0.1 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. Hint: testAs2 runs quite fast, some seconds only, but for testAs3 i recommend you to set the starting value if variable "i" to 162. Only i=162 (multiply instruction) and i=163 (divide instruction) fails.
admin
how is the result calculated from p1,p2, r3 ? Flash result (22 Divide p1:'4294967295' p2:-16777216 r3:mystring): Result:number-0.00390625000090949 Type:string FFDec result: Result:number-0.0039062500009095 Type:string
developer
p2 / p1 r3 is not used, it is needed only for StringExtract and MBStringExtract (it need a string, start index and count)
developer
Push p2 Push p1 Operation PushDuplicate TypeOf StackSwap StringAdd so: Push -16777216 Push "4294967295" Divide PushDuplicate TypeOf StackSwap StringAdd