Skip to Content
ActionScript: The Definitive Guide
book

ActionScript: The Definitive Guide

by Colin Moock
May 2001
Intermediate to advanced
720 pages
23h 24m
English
O'Reilly Media, Inc.
Content preview from ActionScript: The Definitive Guide

Name

print( ) Global Function — print the frames of a movie or movie clip using vectors

Availability

Flash 5

Synopsis

print(target, boundingBox)

Arguments

target

A string or reference indicating the path to the movie clip or document level to print (references are converted to paths when used in a string context).

boundingBox

A string indicating how the printed frames of target should be cropped when printed. Cropping is defined by a bounding box that represents the entire printed page. The region of target included in the printed page can be set using one of three legal values for boundingBox (which must be a literal string):

“bframe”

The bounding box for each printed frame is set individually to match the size of each frame’s contents. Hence, every printed frame’s content is scaled to fill the entire printed page.

“bmax”

The area occupied by the content of all printed frames is combined to form a general bounding box. Each printed frame’s content is scaled and placed on the printed page relative to the general bounding box.

“bmovie”

The bounding box for all printed frames is set to the size of a single, designated frame in the target clip. Content of printed frames is cropped to the bounding box of that designated frame. To designate a frame as the bounding box, assign it the label #b.

Description

Printing a Flash movie using a web browser’s built-in print function behaves inconsistently and often results in poor quality printouts. Using the print( ) function, we can print the contents of a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Actionscript Cookbook

Actionscript Cookbook

Joey Lott

Publisher Resources

ISBN: 1565928520Catalog PageErrata