I'm writing a game application in ActionScript 3. I use FlashDevelop to write the code and compiling and Flash CS-6 for visuals, etc.
The issue I'm having is with getting the program to run at a steady 60 FPS. When compiling and running the game in DEBUG through FlashDevelop, the framerate is pretty bad with serious drops when interacting. But when compiling and running the game in RELEASE through FlashDevelop the framerate is actually fine and close to a constant 60 FPS.
However once I run the game from Windows explorer, either the .exe or .swf version that has been cooked the framerate is as bad again as when running the game in DEBUG mode through the IDE. When running the .swf through a browser's flash plugin the framerate seems to be fine.
Framerate is fine when running the SWF through Firefox, MS Edge or Internet Explorer.
Framerate is bad when running SWF through standalone projector. I've tried multiple versions, including 32 (latest) and 16.
The .exe seems to incorporate version 11 of the projector and also has a bad framerate.
Is the projector just so badly optimized or am I doing something wrong? With Flash slowly losing support I had hoped I wouldn't have to rely on Browser plugins to run the game. Since the game runs fine in the IDE I expected that it would do too in the projector.
The answer to this issue was to use Adobe AIR instead of the flash projector. It solved all performance issues.