Changing The Printed Background Color; Using Frame Labels To Disable Printing - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

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

Advertisement

Changing the printed background color

With Flash Player, you can print the background color set in the Document Properties dialog
box. You can change the background color for only the frames to be printed by placing a colored
object on the lowest layer of the Timeline being printed.
To change the printed background color:
Place a filled shape that covers the Stage on the lowest layer of the Timeline that will print.
1.
Select the shape and select Modify > Document. Select a color for the printing background.
2.
This changes the entire document's background color, including that of movie clips and
loaded movies.
Do one of the following:
3.
To print that color as the document's background, make sure that the frame in which you
placed the shape is designated to print. For instructions, see
on page 380
on page
383.
To maintain a different background color for nonprinting frames, repeat steps 2 and 3.
Then place the shape on the lowest layer of the Timeline, in all the frames that are not
designated to print.

Using frame labels to disable printing

If you don't want any of the frames in the main Timeline to print, you can label a frame as !#p to
make the entire SWF file nonprintable. Labeling a frame as !#p dims the Print command in the
Flash Player context menu. You can also remove the Flash Player context menu.
If you disable printing from Flash Player, the user can still print frames using the browser
Print command. Because this command is a browser feature, you cannot control or disable it
using Flash.
To disable printing in the Flash Player context menu by dimming the Print command:
Open or make active the Flash document (FLA file) that you want to publish.
1.
Select the first keyframe in the main Timeline.
2.
Select Window > Properties to view the Property inspector.
3.
In the Property inspector, for Label enter !#p to specify the frame as nonprinting.
4.
You need to specify only one !#p label to dim the Print command in the context menu.
Note: You can also select a blank frame (rather than a keyframe) and label it #p.
To disable printing by removing the Flash Player context menu:
Open or make active the Flash document (FLA file) that you want to publish.
1.
Select File > Publish Settings.
2.
Select the HTML tab and deselect Display Menu.
3.
Click OK.
4.
384
Chapter 18: Printing from SWF Files
or
"Using the print() function (when not using the PrintJob object)"
"Specifying a frame to print"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents