I have a swf file and I decompiled it. And I get fla and as files , I am trying to run this files but I get these errors
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method si32.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method li8.
1180: Call to a possibly undefined method si8.
and these functions must be in avm2.intrinsics.memory this package but doesnt exist I tried to change SDK versions AIR 3.5 , 3.6 which this package comes with , 3.7 and some others but not of them as these functions. What is the problem
Check if you are using
ASC2.0compiler.Fast memory opcode is a part of
ASC2.0compiler and is not a part of theAIR SDK. Depending on which IDE you are using,avm2.intrinsics.memoryopcode methods might showunresolved erroron the code editor, but it will build fine withASC2.0compiler.The following code is tested with
AIR SDK 27inintelliJ IDEA.trace output: