Resizing bitmaps
It is a common occurrence to see scaling being applied to bitmaps unnecessarily within Flash projects. Resizing bitmaps at runtime can be computationally expensive and degrades the image quality. Doing so can also result in a larger IPA file if the included artwork is actually larger than its intended display size.
Let us see how to resize existing bitmap artwork within Flash Professional.
Getting ready
From Flash Professional, open chapter4\recipe5\recipe.fla
from the book's accompanying code bundle.
Again, you will be working with the familiar visuals from Chapter 2 and Chapter 3 example Bubbles application. The assets for this recipe are made up of both vectors and bitmaps. The bubbles themselves are vectors, whereas the background ...
Get Flash iOS Apps Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.