Using printAsBitmap, how to print multiple pages individually

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't see how you can do it with code but a lateral approach would be..
Create movieclips containing the contents of each frame
Use only one frame on the main time line
load the movieclips from the library ..using attachMovie.. to the stage..on demand
when print is used there is only one (the current) frame and selected movie that can print

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CondoPAFCAuthor Commented:
Thanks Z, that worked well.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.