You can print what you have inside a MovieClip if you want.
just put a label on the first frame of the MC that holds all the
things you want printed and put a "#p"
then place a "#b" on a frame in the MC that holds the other MC that
has the "#p" and the print button.
Then on the button use this script to trigger:
on (press) {
printAsBitmap("(MC that everything is loaded in)", "bmax");
}
There are other options to this that you can google, this worked for
me, but I use "bmax" to get the max area of what I'm printing.
I just haven't figured out how to get it to ignore a mask if there is
one over the image. Oh and I'm programing in AS2. Don't know if that
would matter with this code.
It does not print a PDF but once your in the dialog box you should
have a "save as PDF" button
(I think you have this PDF button on PCs but not sure, I'm on a MAC
and we have one)
Then you can make a PDF from the bitmapData. or if you have a "create-
a-PDF class",
you could format the bitmapData into that.
Just a thought. :)
HTH
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On May 13, 2009, at 3:24 AM, Glen Pike wrote:
Hi,
I am assuming you are talking about the IDE?
Are you doing screenshots for the client?
It might not be helpful, but I just do Test Movie then Alt
+Print Screen or Ctrl+Print Screen and paste into my graphics
program...
Alternatively look at CutePDF or one of the "free" PDF printers
that might help.
Printing from SWF's with the FP Printer - you can draw into a
bitmap first, then print the MC with that in - this means all your
filters & fonts should have been rasterised.
HTH - might have misunderstood your request...
Glen
Anthony Pace wrote:
I would print directly to pdf; yet, I lose the effects I have
placed on MCs; as well, saving it to illustrator directly is a
problem, because flash will screw up the file header when a custom
font that I use is required.
Thus, because flash doesn't have a decent printer driver, and its
file conversion methods suck, my current process is:
I create an swf of the dimensions I want in inches (e.g. 8.5 x 11)
I convert to png and choose a DPI of something like 300 to
indicate high resolution, and I select 24 bit, with no alpha
channel, in order to avoid the ARGB conversion that is screwed for
flash.
I open that png and I open something like photoshop/illustrator
that allows you to convert to a pdf.
Is there a better way?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders