Setting stage size, frame rate, and background color

You are about to create a Flash game, and like all Flash movies, it will have its stage size (width and height in pixels), frame rate (the number of frames per second) and a background color.


The area where you will add the content to be viewed is called the stage. Any content outside the stage will not be visible when playing the game.

The higher the size and the frame rate, the more CPU-intensive will be the game. But it's not just a CPU-based issue: you also have to set the size according to the device your game is designed to be played in. If you plan to design a Concentration game for smartphones, then a 1280x1024 size is probably a bad choice, because they don't support that kind of ...

Get Flash Game Development by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.