QA

I l @ ve RuBoard

Q&A

Q1:

How can I make a Flash movie where a Print button prints the current frame?

A1:

Place most or all of the frame's contents into its own single-frame movie clip. Label that frame in the movie clip with a #p. Use the print or printAsBitmap command with the target set to that movie clip. Do this for each frame.

Q2:

How can I bring up the Page Setup dialog for the user so that she can change her settings before printing?

A2:

When you use print , both the Page Setup and Print dialogs are displayed, one after the other. This may depend a little on your system configuration and print drivers.

Q3:

How can I test the print command without wasting paper?

A3:

Many print drivers come with a print preview option. This means that you can select Preview instead of Print in either the Page Setup or Print dialog. This is a great way to test printing. Many recent color ink jet printers come with such print drivers, but basic business printers usually do not.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net