print()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Not Supported (Use File | Test | Browser/Player)

Syntax
print({"Bounding box"});
printTarget(target {, "Bounding box"});
printNum(level {, "Bounding box"});
target.print({"Bounding box"});
_level.print({"Bounding box"});

Arguments
target; The sprite that contains the frames you want to print. By default, all frames inside the Sprite will print. In order to print only specific frames, add a #P label to each frame you want to print.

level;
The level of the SWF file that you want to print.

Bounding box;
A modifier that sets the print area of the movie. This argument is optional.
You can choose one of the following:
bmovie; uses the bounding box of a specific frame as the print area for all other printable frames. Use a #b frame label on a specific frame to use it as the print area.  
bmax; can be used when the printable frames may vary in size.  
bframe; uses the bounding box from each printable frame for the print area. The print area can change for each frame based on its size and will scale objects to fit within the print area. You can use bframe if each frame consists of different sized objects that you want to fill the printed area.  

Returns
Nothing.

Description
Action; prints the specified target according to the boundaries set in the bounding box argument. If you only want to print specific frames, you will need to add a #P frame label to each frame you want to print. The print action will not allow you to print movies that have alpha transparency. The print action generally produces higher quality prints than that produced using the printAsBitmap action.

If no boundaries are specified in the bounding box argument, the dimensions of the loaded movie are used as the print area.
All of the data you wish to print must be loaded before the print action will be executed.


See Also
printAsBitmap