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#1838 AS3 editor assumes that default value integers are signed even when the corresponding parameter is uint
Author: pizzaeater1000
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed
> What steps will reproduce the problem?
Edit ActionScript 3 source and attempt to set a default value for a uint parameter for a
method.
> What is the expected output? What do you see instead?
The expected output is that the uint value you put remains uint. However, it converts it
to a signed integer, and puts it as an optional Integer in P-Code, when it should be put
at an optional UInteger.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v15.1.1 release, Windows 10
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
This problem doesn't seem to be related to a particular SWF file.
uInt.png (8 KiB)
This should be fixed in nightly 2032 or later.
if you write for example:
function foo (x:uint = 0xffffffff),
it is stored as
optional Double(4.294967295E9)
This is the same way as for example FlashCS6 does, I tested it.
It does not use UInteger constants for it for some reasons.
State: new→upgraded
State: upgraded→closed