my budget is small - I am expecting to pay 1 or 2 hours worth of work for this SMALL fix that a Flex expert should be able to do quickly. I want to print the content of a swfLoader in Flex 3. The swfLoader loads a wide variety of SWFs, many of which use text outlines to create stroked text. The problem is that when Flex prints these fonts, it ignores the outlines. Adding [login to view URL] = true; has not helped. I will attach a sample Flex project with swfLoader and this print class, you can test yourself.
############################################################################
Please read the following BEFORE BIDDING!!!!!!!!!!!!!!
############################################################################
1- If you want this job - you must ALREADY KNOW how to fix this, or have a good idea. I don't want to pay somebody to learn something new - you should be a Flex and As3 EXPERT.
2- I am not interested in solutions that require editing of all of my SWFs, of which there are hundreds.
3- I am only interested in a Flex based solution, using the FlexPrintJob or As3 PrintJob classes.
My print button component class looks like this:
// ActionScript file
package [login to view URL] {
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
import [login to view URL];
public class PrintButton extends Button {
//component attributes
public var component:UIComponent;
public var paper:String;
public function PrintButton():void {
super();
addEventListener([login to view URL], printJobInvocation);
}
// Define private click event handler.
private function printJobInvocation(event:MouseEvent):void {
var printJob:FlexPrintJob = new FlexPrintJob();
//Start the print job
if ([login to view URL]() != true) return;
if(paper == "OnePage") {
[login to view URL](component,
FlexPrintJobScaleType.SHOW_ALL);
[login to view URL] = true;
}
else if(paper == "FillPage") {
[login to view URL](component,
FlexPrintJobScaleType.FILL_PAGE);
[login to view URL] = true;
}
else if(paper == "MatchHeight") {
[login to view URL](component,
FlexPrintJobScaleType.MATCH_HEIGHT);
[login to view URL] = true;
}
else if(paper == "MatchWidth") {
[login to view URL](component,
FlexPrintJobScaleType.MATCH_WIDTH);
[login to view URL] = true;
}
else if(paper == "None") {
[login to view URL](component,
[login to view URL]);
[login to view URL] = true;
}
//default print paper setting
else {
[login to view URL](component,
FlexPrintJobScaleType.SHOW_ALL);
[login to view URL] = true;
}
//output to hardware
[login to view URL]();
}
}
}