Environment communication

Printing from Flash

When you use Flash movies as a part of HTML page you may use browser's Print menus and current frame will be printed. However this technique is not efficient. When printing, browser considers Flash object simply as picture and it's resolution is not perfect, if you have dark background – it will consume a lot of ink, and Flash objects' size is not adjusted to the paper width as in traditional HTML.

It is much more efficient to print movie content from inside Flash file using Flash Player capabilities.

Fist you may wish to disable printing "everything and anything" from Flash Player. To do it you need to place this label in Properties Inspector for the first frame of the movie !#p - it will delete the Print command from Flash Player menu.

This technique will disable all frames from printing. If you still want one or several frames to be printed you need to put as a label #p. Only frames with this label will be printable. You don't need to place !#p label in this case.

You may explicitly tell Flash movie what content to print. Let's make this exercise.

You may see that quality of text printing and shapes is very good since Flash Player prints in vector format. However if your printable content is bitmap it is better to use printAsBitmap Action.

Next