Am I missing some crucial documentation or switch that causes elements that are rendered with transparency intact on a screen, but when the sprite is then sent to a PrintJob, those elements are rendered completely opaque.
For instance, if I have two overlaping ellipses
with(es.graphics)
{
beginFill(0x6b7ad1, .5);
drawEllipse(0, 70, 440, 400);
endFill();
beginFill(0xb29ed1, .5);
drawEllipse(220, 70, 440, 400);
endFill();
}
There of course is no blended region, the second fill is entirely opaque.
I've messed with the Print As Bitmap stuffies to no avail.
While on that subject, a PNG included in that printjob looks like garbage, even if there is no alpha/transparency.
Thank you. I should also mention that I've had no luck including the CheckBox component without it totally screwing up my layouts, but that may be my ineptness. (I don't think so however, as I'm fairly accomplished and use this and other components using AS3 only all the time).
I should also give more info on the PNG thing I mentioned... It matters not at all what format or format specific details I use, alpha, interlacing, compression, etc or what publishing settings I use regarding quality and format... I've tried them all (excepting bitmap, I'll have to try that, but this program is far too big as it is)... PNG, JPG, GIF. The quality is just awful regardless.
I'm not certain, but IIRC, I've submitted a bug report on one or both of these issues and a feature request to allow programatically changing of the suggested filename when printing to file or pdf... right now it's Flash.pdf and I've documented way to change it.
Cheers!
I have been able to follow-up and get some answers. Thank you for your patience.
Vector PrintJob rendering transparency as opaque:
This is a permanent design limitation. The alternative is to use bitmap printing, which will be much better in the next release of AIR. The upcoming AIR 2 beta will include a number of significant enhancements to printing beyond this as well.
Filter effects not rendering:
We do not have a workaround for this issue and I have confirmed that this issue is not going to be addressed in AIR 2 or Player 10.1. How critical is this to your application?
PNG looks like garbage:
Can you please provide a sample file? We believe we have addressed this in AIR 2, but we would like to verify.
Default file name:
This is addressed indirectly in AIR 2. You will be able to set the name of the print job. For example:
var job:PrintJob = new PrintJob();
job.jobName = "Your name here";
Most drivers will base the Save As File name on the job name.
North America
Europe, Middle East and Africa
Asia Pacific
Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).