Find Jobs
Hire Freelancers

As3 Flex Printing Help

$30-250 USD

Fechado
Publicado há mais de 13 anos

$30-250 USD

Pago na entrega
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](); } } }
ID do Projeto: 901577

Sobre o projeto

10 propostas
Projeto remoto
Ativo há 13 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos

Sobre o cliente

Bandeira do(a) UNITED STATES
Anchorage, United States
5,0
37
Método de pagamento verificado
Membro desde dez. 10, 2004

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.