-
-
Notifications
You must be signed in to change notification settings - Fork 833
Flash Player Oddities
This page is a list of weird behaviors in the official Flash Player that we don't quite understand and require investigation. This also includes behavior that varies between different version of the Flash Player. Spooky! 👻
If a DefineFunction2
function on the root timeline tries to preload _parent
in a register, the player ends up skipping this preload because _parent
is undefined. _global
will mistakenly get preloaded in this register instead if the function also uses it. See the define_function2_preload_order
test for an example.
NaN == NaN
returns true in AVM1 depending on the version of the Flash Player. Flash Player 6 and below(?) properly returns false. Higher versions return true.
NaN.toString(16)
returns -(0000000
for example. There are different garbage values for every non-decimal base. Seems like mis-indexing into ASCII table?
This seems to only happen in Flash Player 7? and higher (SWF version irrelevant). Flash Player 6 and below prints 0
for all non-decimal bases.
trace(o)
will print null
instead of the expected undefined
.
© 2023 Ruffle Wiki Contributors. View license.