This tutorial explains how to make a screen capture of graphics generated in Flash, within the same file. Very useful for generative graphics that you to be able to create snapshots of, or for creating drawing apps with a save option.
http://www.adobe.com/devnet/flash/articles/saving_flash_graphics.html