The only crazy thing I can think to do is take a BitmapData snapshot of the
swf (which can maintain 32bit transparency) from within Flash, and then save
the image data as an transparent PNG, and recombine the image / other layers
as appropriate to print. 

 

Something like:

http://designreviver.com/tutorials/actionscript-3-jpeg-encoder-revealed-savi
ng-images-from-flash/

 

(PNG version)

http://www.quietless.com/kitchen/upload-bitmapdata-snapshot-to-server-in-as3
/

 

 

But using PNG, and pushing the resultant image into the page via AJAX to
print and the like.

 

 

As I said, pretty crazy.... (but hey it's Monday and I live in Australia -
we are always a bit crazy down here)

 

 

 

Aran

 

 

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Brad Swords
Sent: Monday, 15 December 2008 5:02 PM
To: [email protected]
Subject: Re: Printing a .swf embedded w/ wmode transparent

 

Yeah, I am screwed...just trying to save a project.

I appreciate the word.

-B

On Sun, Dec 14, 2008 at 9:57 PM, Aran Rhee <[email protected]> wrote:


Others may know more, but I don't think what you are wanting to do is
possible.

Every browser handles the wmode=transparent (+ printing) in a different way,
so I would be very surprised if you found a cross-browser solution that
works. I have a hard enough time trying to get a normal web page printing as
it should !

The print job class in Flash will not render anything outside of the swf, so
you would need to have whatever content you wanted to print within the swf
(not behind in the HTML page)

Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of beez
Sent: Monday, 15 December 2008 4:47 PM
To: SWFObject
Subject: Re: Printing a .swf embedded w/ wmode transparent


I have a label printing app that I have embedded into HTML w/ wmode
transparent. I am printing using JavaScript to a div containing
the .swf...no problems.

Does anyone know how to print from html using wmode tranparent: in IE
the the .swf background shows up and in Firefox nothing shows up.

Also does anyone know a way to print in Flash w/ out a background??? I
have already tried printJob in Flash.

Thanks!

-B









--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to