The launch of the iPad led to developers having to support two different physical screen sizes and resolutions. This was exacerbated by the introduction of the Retina display for iPhone and iPod touch, where screen resolutions were no longer guaranteed to be identical across the same device type.
When targeting multiple device types and models, it is important that your app can adapt its layout to different screen resolutions.
Let us walk through a simple example that creates a universal app that supports the various portrait resolutions used by the iPhone, iPod touch, and iPad.
An FLA containing graphics has been provided in the book's accompanying code bundle for you to work from.
Open chapter8\recipe3\recipe.fla
into Flash Professional.
Within the FLA's library, you will find three PNGs—one for each screen resolution we intend to support. Each has also been linked for ActionScript usage allowing it to be easily added to the screen at runtime. The...