A demo app:
In Flex Builder 3, right click on the project, choose Flex Compiler and set the Require Flash Player version to 9.0.124. Build and run the project, then print the flash doc and everything is perfectly fine.
Code: Select all
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" xmlns:Print2Flash="Print2Flash.*"> <Print2Flash:Print2FlashDoc height="100%" width="100%" source="myDoc.swf" /> </mx:Application>
Now change the flash version requirement to 10.0.12 (or greater), build and run, then print and you'll see that a large section of every page of the document is clipped and not printed. If I make my browser window smaller or larger (and relaunch the program in the resized windows), the print area grows/shrinks along with the browser size. However, I cannot seem to find a way to get the entire page to print.
(This wasn't a problem until I added support for saving objects from my flex app to the user's computer, which requires Flash 10, otherwise you'll get compilation errors.)