O'Reilly logo

Flash Development for Android Cookbook by Joseph Labrecque

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scaling visual elements based on stage resize in Flash Professional CS5.5

One of the features introduced in Flash Professional CS5.5 that makes targeting various device resolutions easier is the ability for Flash to resize and reposition visual elements upon Stage resize. This allows us to modify our FLA files targeting specific resolutions and devices quite easily.

How to do it…

We will demonstrate how to employ Scale content with stage in order to target different screen resolutions:

  1. Here we see a demo application laid out at 480x800, targeting a Nexus S device. In the Properties panel, click upon the wrench icon next to the Size controls:
    How to do it…
  2. We want ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required