|
The short answer is no, but
there is always a workaround. In the document you refered to the statement
setSize() is crucial. In reality, you save objects dimensions, setSize it above
the real page metricsfrom JobPrinter props and print. Upon completion of
the printing you size the document back.
It would be nice to have an
ability to distinguish between printer and document settings via "copying" movie
content to the new document with different metrics (for printing and such), I do
not think this functionality is available yet.
HTH,
Anatole
----- Original Message -----
Sent: Tuesday, January 17, 2006 5:54
AM
Subject: [flexcoders] Printing a .swf in
Flex.
Hi,
We are currently using Flex in a large
scale project and the issue of accurate printing has come up.
When
printing out a .swf that has been entered into a Loader object, when
printing only the viewable area of the swf is printed out, i.e. the size of
the browser window with the rest of the image printed as a grey shape.
Interestingly this also happens if the Loader isn't visible. this is
obviously a concern with the app possibly being used at different screen
resolutions.
I have found the .addPage() workaround for this in the
macromedia tech note: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19241 ,
but this raises some issues about it's accuracy (as well as being a nasty
kludge).
So my question is, is there a way to print a .swf (or anything
else for that matter) in Flex without it being constrained by the size
of the browser window?
Gk.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|