OK Joshua,

I tried what you said, but with no luck.

My View3D is called view and I try to print it with the following function.

I don't really understand how to use BitmapData.draw with my view to make it
work.

I would really appreciate it if you could explain it more.

Thanks a lot!

function printAll(e:MouseEvent):void {
            var myPrintJob:PrintJob = new PrintJob();
            var mySprite:Sprite = new Sprite();

            var result:Boolean = myPrintJob.start();

            mySprite.addChild(room_mc);

            if (result) {
                myPrintJob.addPage( mySprite );

                myPrintJob.send();
                myPrintJob = null;

                } else {
                //User does not have printer or user canceled print action
            }
        }

On Wed, Mar 10, 2010 at 2:46 AM, Joshua Granick <[email protected]>wrote:

> Create a new BitmapData object, use the draw method to turn a Sprite (or
> View3D object, what-have-you) into a Bitmap.
>
> Once you have a Bitmap, you can send it to a printer or PDF
>
>
>
> On Tue, 09 Mar 2010 11:07:40 -0800, Konstantinos Anatolitis <
> [email protected]> wrote:
>
>  I guess I didn't make myself clear.
>>
>> I want to use the PrintJob Class to print my 3D scene in my application to
>> print whatever my camera is seeing.
>>
>> On Tue, Mar 9, 2010 at 5:58 PM, jens lofberg <[email protected]>
>> wrote:
>>
>>  Hi
>>> I don't know if this help you but a classical way of printing flash (with
>>> vectors) is to print as pdf and then open in illustrator. But you have to
>>> have a pdf printer installed (included in acrobat pro or alternative open
>>> source)
>>>
>>> jens
>>>
>>> Konstantinos Anatolitis a écrit :
>>>
>>>  Hi all!
>>>
>>>>
>>>> Is it possible to print my 3D Scene?
>>>> If so, how do I do it?
>>>>
>>>> Thanks in advance.
>>>>
>>>> k.//
>>>>
>>>>
>>>>
>>>>
>>>
>>>

Reply via email to