• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Printing from Flash Player

Flash gives you the option of letting your viewers print some or all of a movie directly from Flash Player. You can allow viewers to access a print command from Flash Player’s contextual menu. By default, the contextual menu’s Print command prints every frame in the movie. You restrict printing to certain frames by labeling them as printable in the original Flash document. You can also create buttons for printing frames of your Flash movie.

To set frames to print from the contextual menu:

Create a Flash document with three keyframes.

Place different content in each frame to make it easy to tell which frames you’ve actually printed. Add a stop action to each keyframe, and add a button with a play action so that you can move from frame to frame in the published movie.

In the Timeline, select Keyframe 1.

Access the Frames Property Inspector.

If the Frames Property Inspector is not open, choose Window > Properties.

To define the selected frame as printable, in the Label field, enter #p (Figure 16.54).

Figure 16.54. To define keyframes that print when viewers choose Print from Flash Player’s contextual menu, select the keyframe and enter #p in the Label field of the Frame Property Inspector.

In the Timeline, select Keyframe 3.

Repeat Step 4.

Publish your Flash movie, and view the resulting Flash Player file in your browser.

To access the contextual menu, Control-click (Mac) or right-click (Windows) anywhere in the movie window.

The contextual menu appears (Figure 16.55).

Figure 16.55. In your browser, Control-click (Mac) or right-click (Windows) to access Flash Player’s contextual menu. Choosing Print outputs all the pages defined as printable.

Choose Print.

Flash prints the frames you labeled as printable (frames 1 and 3) and skips the frame that doesn’t contain the #p label (Frame 2).



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint