What's New in Director 8.5 > Working with Flash 5 > print |
![]() ![]() ![]() |
Syntax
sprite(whichSprite
).print({"targetName
",#printingBounds
})
Description
Command; calls the corresponding print
ActionScript command, which is new to Flash 5. All frames in the Flash movie that have been labeled #p
are printed. If no individual frames have been labeled, the whole movie prints.
Both arguments to this function are optional. The target movie is the movie or movie clip to be printed. If you do not specify a target (or if the target is 0), then the main Flash movie is printed.
The two options for the printing bounds are #bframe
and #bmax
. If #bmax
is specified, then the printing bounds become a large enough virtual rectangle to fit all frames to be printed. If #bframe
is specified, then the printing bounds for each page are changed to match each frame that is being printed. If no printing bounds are specified, the bounds of the target movie are used.
Because printing of Flash movies is rather complicated, you may benefit from reviewing the section about printing in the Flash 5 documentation before using this sprite function.
![]() ![]() ![]() |