Find Jobs
Hire Freelancers

As3 Flex Printing Help

$30-250 USD

Closed
Posted over 13 years ago

$30-250 USD

Paid on delivery
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. 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](); } } }
Project ID: 901577

About the project

10 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Anchorage, United States
5.0
37
Payment method verified
Member since Dec 10, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.