MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 383

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

Advertisement

You use the label #b to designate a frame to be used to designate the print area. The label #b must
be on the same layer as a frame labeled #p.
For more information about
Language Reference.
To specify a print area when printing frames:
Open the Flash document (FLA) containing the frames you will set to print.
1.
Select a frame that you have not specified to print with a #p frame label. Select a frame that is
2.
on the same layer as one labeled #p.
To organize your work, you can select the next frame after one labeled #p.
Create a shape on the Stage the size of the desired print area.
3.
You can also select a frame with any object of the appropriate print area size to use that frame's
bounding box.
Select the frame in the Timeline that contains the shape you want to use for the bounding box.
4.
If the Property inspector does not appear, select Window > Properties.
5.
In the Property inspector, enter #b for Label to specify the selected shape as the bounding box
6.
for the print area.
You can enter only one #b label per Timeline. This option is the same as selecting the Movie
bounding box option with the Print action.
Using the print() function (when not using the PrintJob object)
The basic syntax for the
in your document to activate printing, is shown as follows:
print (target, "Bounding box");
The target parameter specifies the location of the frames that print, and the bounding box
parameter specifies the print area.
You can add a
print()
Flash content. You assign the
function to a frame, the action executes when the playhead reaches the designated frame.
print()
The
function lets you print frames in other movie clips in addition to the main
print()
Timeline. Each
print()
specify any number of frames within the Timeline to print. If you attach more than one
function to a single button or frame, the Print dialog box appears for each action executed. For
more information about the
Reference.
function parameters, see
print()
function, which you can associate with a button or other trigger
print()
function to a button or other element in your document to let users print
function to a button, frame, or movie clip. If you assign a
print()
function sets only one Timeline for printing, but the action lets you
function, see
print()
Printing frames independent of the PrintJob class
in Flash ActionScript
print()
in Flash ActionScript Language
print()
print()
383

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents