Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing in director...

Status
Not open for further replies.

aga2005

Programmer
Joined
Aug 28, 2005
Messages
2
Location
IL
hi
i need to print 2 frames (my movie size is- 800-600)
the problem is that the director prints only on half of the page and i must turn the page to print the other frame

can i print 2 frames in one full page? (without turning)

thank's
Amit
 
A strategy to print the stage of frame 1 and 2 in a single paper:
1. Create an empty bitmap member (member 13 in the example below)
2. Make the image object of the bitmap member 800 x 1200 (two 800 x 600 stage size)
3. Capture the frame 1 stage image
4. Copy that to the bitmap member
5. Go to frame 2 and capture the stage, then go back to frame 1
6. Copy the frame 2 image to underneath the frame 1 image of the bitmap member
7. Print the bitmap member
8. Erase the bitmap member

You'll need the PrintOMatic Lite Xtra to print cast members.

[tt]--
on printFrames
printMember = new(#bitmap, member(13))
printMember.image = image(800, 1200, 32)
img = _movie.stage.image
destRect = rect(0, 0, 800, 600)
srcRect = rect(0, 0, 800, 600)
printMember.image.copyPixels(img, destRect, srcRect)
_movie.go(2)
img = _movie.stage.image
_movie.go(1)
destRect = rect(0, 600, 800, 1200)
srcRect = rect(0, 0, 800, 600)
printMember.image.copyPixels(img, destRect, srcRect)
print printMember
printMember.erase()
end printFrames
--[/tt]

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top