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.
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 frame rate that was achieved is displayed.
The movie clips used for this recipe are constructed from vector graphics and the FLA has been set to use GPU rendering.