I have a flex application which performs an SWFLoader on an application which calls Print2FlashDoc; and here they are:
1) Main application:
Code: Select all
<?xml version="1.0"?> <!-- Simple example to demonstrate the Print2FlashDoc control. --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="100%" height="100%"> <mx:SWFLoader id="myLoader" width="100%" height="100%" source="Print2FlashDocExample.swf"/> </mx:Application>
2) The application which is called by the main application, and subsequently calls "Print2FlashDoc".
Code: Select all
<?xml version="1.0"?> <!-- Simple example to demonstrate the Print2FlashDoc control. --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:ns1="Print2Flash.*"> <ns1:Print2FlashDoc width="100%" height="100%" source="sample.swf" id="doc"/> </mx:Application>
When I print within a fully expanded IE full screen, the sample.swf prints just fine; however, when I shrink the IE browser - even in the slightest - although the document prints, for each page that prints, only about two thirds of the page actually prints correctly - the other third is blanked out with whatever background color is set by the index.html! It’s a major serious drain on my color toner cartridges.
Now when I do not use an SWFLoader to load an application with a call to Print2FlashDoc which interfaces with the Print2Flash flex API, provided that the call of the Print2FlashDoc is isolated the root of the application hierarchy - everything is hunky-dory and it works just fine! Now this problem only occurs when I use the SWFLoader to load the Print2FlashDoc application which interfaces with the Print2Flash flex API. Now, to me, it sounds like we have some sort of inheritance issues in the API. It’s just my first hunch.
So there you have it! And I have provided this sample code (which compiles and runs) and you should be able to duplicate it on your end.
I am running Adobe flash player 9 (i.e. "9,0,124,0"); and flex 3.
If you have any work around for this sort of thing, it would be greatly appreciated.
I'm a registered user.