EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 591

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...
print() 591
Example
When the user clicks a button that has the following handler attached to it, the playhead is sent to
the previous frame.
on(release) {
prevFrame();
}
See also
MovieClip.prevFrame()
prevScene()
Availability
Flash 2.
Usage
prevScene()
Parameters
None.
Returns
Nothing.
Description
Function; sends the playhead to Frame 1 of the previous scene and stops it.
See also
nextScene()
print()
Availability
Flash Player 4.20.
Note: If you are authoring for Flash Player 7 or later, you can create a PrintJob object, which gives
you (and the user) more control over the printing process. For more information, see the PrintJob
class entry.
Usage
print(target, "Bounding box")
Parameters
target
The instance name of a movie clip to print. By default, all of the frames in the target
instance print. If you want to print specific frames in the movie clip, assign a #p frame label to
those frames.
Bounding box A modifier that sets the print area of the movie clip. Enclose this parameter in
quotation marks, and specify one of the following values:

Table of Contents

Related product manuals