Link to home
Start Free TrialLog in
Avatar of CondoPAFC
CondoPAFC

asked on

Using printAsBitmap, how to print multiple pages individually

Hi
I have a Flash 8 program in which each different frame gives the user the opportunity to manipulate different objects to create an image. I.e frame 2 gives objects A,B+C to play with. Frame 3 gives objects D,E+F to play with etc.

When they have created that image, they can print it. I need them to be able to print only the current page, no matter what frame they decide to enter. It contains transparent images so im using printAsBitmap with the following code

on (release) {
      printAsBitmap(0, "bmovie");
}

By default, it trys to print all frames in the movie. If i apply the frame label #p, it will print only the current frame but i can only use that frame label once. I.e if i apply #p label to a second frame, it prints both frames with the #p label.

Can anyone help?
ASKER CERTIFIED SOLUTION
Avatar of Zeffer
Zeffer
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CondoPAFC
CondoPAFC

ASKER

Thanks Z, that worked well.