EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 602

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
602 Chapter 12: ActionScript Dictionary
Description
Function; prints the level in Flash Player according to the boundaries specified in the Bounding
box
parameter ("bmovie", "bmax", "bframe"). If you want to print specific frames in the target
movie, attach a
#p frame label to those frames. Although using printNum() results in higher
quality prints than using
printAsBitmapNum(), you cannot use printNum() to print movies
with alpha transparencies or special color effects.
If you use
bmovie for the Bounding box parameter but do not assign a #b label to a frame, the
print area is determined by the Stage size of the loaded movie. (The loaded movie does not inherit
the main movie's Stage size.)
All of the printable elements in a movie must be fully loaded before printing can begin.
The Flash Player printing feature supports PostScript and non-PostScript printers. Non-
PostScript printers convert vectors to bitmaps.
See also
print()
, printAsBitmap(), printAsBitmapNum(), PrintJob class
private
Availability
Flash Player 6.
Usage
class someClassName{
private var name;
private function name() {
// your statements here
}
}
Note: To use this keyword, you must specify ActionScript 2.0 and Flash Player 6 or later in the Flash
tab of your FLA file’s Publish Settings dialog box. This keyword is supported only when used in
external script files, not in scripts written in the Actions panel.
Parameters
name
The name of the variable or function that you want to specify as private.
Description
Keyword; specifies that a variable or function is available only to the class that declares or defines
it, or to subclasses of that class. By default, a variable or function is available to any class that calls
it. Use this keyword if you want to restrict access to a variable or function. For more information,
see “Controlling member access” on page 164.
You can use this keyword only in class definitions, not in interface definitions.
See also
public, static

Table of Contents

Related product manuals