Using Cache as Bitmap Matrix
Cache as Bitmap is extremely useful for display objects that are only affected by two-dimensional translation. However, it is also possible to benefit from bitmap caching when applying other changes to a display object such as scaling and rotation. This is achieved by using a transform matrix in conjunction with a cached bitmap and is known as Cache as Bitmap Matrix.
Let us work through an example.
Getting ready
An FLA has been provided as a starting point. From the book's accompanying code bundle, open chapter6\recipe5\recipe.fla
into Flash Professional.
Ten instances of a Monkey movie clip are positioned on top of a Background movie clip. All ten movie clips are continuously rotated and after five seconds, the average ...
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.