If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2752 AVM1 getTimer() does not evaluate correctly
Author:
ChrisCPI
ChrisCPIDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Simplify expressions
State: upgraded 

> What steps will reproduce the problem?
1. In an empty AS2 swf, make some script that utilizes getTimer(), such as `x =
getTimer();`.
2. When saving the script, the getTimer() call is replaced with a random number. The PCode
still uses `GetTime`.
3. When trying to make another edit to the script and saving it, the `GetTime` is lost in
the PCode and is replaced with that random number.
> What is the expected output? What do you see instead?
It should correctly display getTimer().
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v26.2.1 nightly 3544, macOS 26.6.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.
_timerbug.swf (59 B)It is fixed in nightly 3546.
State: new→upgraded
