2008.10.10 00:03

Runtime bitmap caching movie clip and button symbols

런타임 비트맵 캐싱

Runtime bitmap caching lets you optimize playback performance by specifying that a static movie clip (for example, a background image) or button symbol be cached as a bitmap at runtime. Caching a movie clip as a bitmap prevents Flash Player from having to continually redraw the image, which provides a significant improvement in playback performance.

런타임 비트맵 캐싱을 정적 무비클립또는 버튼에 적용했을시에 재생 퍼포먼스를 향상(?)시켜줍니다.(예를 들어, 배경 이미지)

무비클립을 비트맵으로 캐싱하는것은 플래시 플래이어로 하여금 계속 그리는것을 예방(막다)해서 재생 퍼포먼스를 확실히 증가시켜 줍니다.

For example, when creating animations with a complex background, you can create a movie clip for the background. The background is rendered as a bitmap stored at the current screen depth. It can be drawn very quickly, letting the animation play both faster and more smoothly, because the background doesn't need to continually be redrawn.

예를 들어, 복잡한 배경과 함께 에니메이션을 만들때, 당신은 배경을 위한 무비 클립을 만들수 있습니다.

배경은 현재의 스크린 뎁스에 비트맵으로 저장되어 렌더링 됩니다.

이것은 매우 빨리 그려질수 있고, 애니메이션도역시 빠르고 부드럽게해줄수 있게 해주는데, 그 이유는 배경이 계속적으로 다시 그려질 필요가 없기 때문입니다.

Without the use of bitmap caching, the animation might play back too slowly, because the background continually would be redrawn from vector data.

비트맵 캐싱사용 없이는, 애니메이션이 매우 느리게 재생되는데, 그이유는 배경이 계속적으로 벡터로 그려질것이기 때문입니다.

Bitmap caching lets you use a movie clip and "freeze" it in place automatically. If a region changes, Flash uses vector data to update the bitmap cache. This minimizes the number of redraws that Flash Player must perform, and provides smoother, faster playback performance.

Only use runtime bitmap caching on static, complex movie clips in which the position, but not the content, of the movie clip changes on each frame in an animation. You can only observe on complex-content movie clips the playback or runtime performance improvement in using runtime bitmap caching. You will not see the performance benefit of runtime bitmap caching when creating simple movie clips.

For more information, see When to enable caching in Working with Movie Clips of Learning ActionScript 2.0 in Flash.


You can only apply the Use Runtime Bitmap Caching check box to movie clip and button symbols.

Under the following circumstances, a movie clip will not use a bitmap (even if the Use Runtime Bitmap Caching check box is selected) and will instead render the movie clip or button symbol using vector data:

  • The bitmap is too large (greater than 2880 pixels in either direction).
  • The bitmap fails to allocate (producing an out of memory error).
  • The parent surface uses a vector clipper (the parent is partially rotated and scrolled).

To specify bitmap caching for a movie clip:

  1. Select the movie clip or button symbol on the Stage.
  2. In the symbol Property inspector, select the Use Runtime Bitmap Caching check box.

출처 : http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000436.html

참고할만한 웹 페이지


정적 무비클립에 비트맵 캐싱해주는것은 매우 좋다.(퍼포먼스가 향상(?)된다.)
하지만, 비트맵 크기가 너무 큰 경우는 안된다.(2800픽셀 이상이라도 나와있네..)
Trackback 0 Comment 0