A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: PrintJob addPage() HELP!

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    7

    PrintJob addPage() HELP!

    I have a phot gallery that allows the user to print off any picture he/she likes. It prints the picture fine, but i want to also print the caption. The picture and the caption are on two different layers so i have two different addPage() calls. This, however, prints out two spereate pages (obviously). how can i make the captions print on the same page as the picture?

    Here's my code:

    function prnt_funct(eventObj:Object)
    {
    var my_pj:PrintJob = new PrintJob();
    if (my_pj.start()) {
    if ( my_pj.addPage("slideShow_mc", {xMin : 0, xMax: 400, yMin: min, yMax: max}) &&
    my_pj.addPage("txt.description_txt" ) ) ){ my_pj.send();
    }
    }
    delete my_pj;
    }
    Last edited by zoey7907; 09-29-2006 at 10:05 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center