It's time to let you explore the web code base on your own and figure out the rest of the code. With the help of the Adobe AIR technology, we are able to use the same ActionScript code base to target desktops, Android, iOS, and Blackberry along with the Web. This is what we call cross-platform development, and Starling helps us with its optimized architecture and touch-based interactivity.
Moving on, let us open up the
FlagDefenseDevice project, which is actually a Flash builder ActionScript mobile project. The code base remains almost the same with some very subtle but important changes, which we will discuss later on. We have an additional dependency, the
RectanglePacking algorithm by Ville Koskela, which is used for the creation ...