MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 382

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

To control what users can print, remember the following items as you set up documents and
movie clips for printing:
Adjust the page layout in any frames that you designate as printable to match the desired
printed output. Using Flash Player, you can print all shapes, symbols, bitmaps, text blocks, and
text fields. Levels in a SWF file are not composited on print output.
The Flash Player printer driver uses the HTML settings for dimension, scale, and alignment in
the Publish Settings dialog box. Use these settings to control the print layout.
The selected frames print as they appear in the movie clip symbol. You can let users print a
movie clip that is not visible in a browser by setting the movie clip's
using the Actions panel. Changing the property of a movie clip with the Set Property
false
action, tweening, or any transformation tool does not affect how a movie clip prints.
For a movie clip to be printable, it must be on the Stage or workspace and it must be given an
instance name.
All elements must be fully loaded to print. You can use the movie clip
property to check whether the printable content is loaded. For more information, see
MovieClip._framesloaded
Specifying a print area (when not using the PrintJob object)
By default, when frames are printed, the document file's Stage determines the print area. Any
object that extends off the Stage is clipped and does not print. Loaded movies use their own Stage
size for the print area, not the main movie's Stage size.
As an alternative to using a document's Stage size, you can set the following print areas:
For either the Flash Player context menu or the
content bounding box as the print area for all frames by selecting an object in one frame as the
bounding box. This option is useful, for example, if you want to print a full-page data sheet
from a web banner.
With the
print()
a Timeline as the print area—for example, to print multiple frames that share a registration
point. To use the composite bounding box, you use the
following example:
print ("myMovie", "bmax")
With the
print()
the print area—for example, to have objects of different sizes in each frame fill the printed
page. To change the bounding box per frame, use the Frame parameter in the Print action
parameters, as shown in the following example:
print ("myMovie", "bframe")
With the
print()
a document as the print area for all printable frames in the document, as shown in the
following example:
print ("myMovie", "bmovie")
382
Chapter 18: Printing from SWF Files
in Flash ActionScript Language Reference.
function, you can use the composite bounding box of all printable frames in
function, you can change the print area for each frame, scaling objects to fit
function, you can designate the bounding box of a specific frame in
_visible
function, you can designate the SWF
print()
parameter, as shown in the
bMax
property to
_framesloaded

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents