Anthony Pace wrote:
> Can you show me an example?

Yes. Paste this code into a new AS2 file:

-------------------------------------------
this.createEmptyMovieClip("test_mc", this.getNextHighestDepth());
test_mc.lineStyle(15, 0xff0000, 100, true, "none", "round", "miter", 1);
test_mc.moveTo(15, 15);
test_mc.lineTo(15, 222);
test_mc.lineTo(25, 222);
test_mc.lineTo(25, 15);
test_mc.lineTo(25, 222);
test_mc.lineTo(30, 222);
test_mc.lineTo(30, 15);

var printJob:PrintJob = new PrintJob();
if (printJob.start()) 
{
        if(printJob.addPage(test_mc, null,{printAsBitmap:true}, 1))
printJob.send();
}
delete printJob;
-------------------------------------------

On screen, you'll see some overlapping red lines. But on the printed page,
you'll see three thin vertical lines separated by white space, along with a
horizontal line which connects the bottoms of the three other lines.
Printing to a pdf gives the same results.

Putting in the xMin, xMax... options in the addPage() function instead of
'null' isn't helping.

Wendy


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to