Find Jobs
Hire Freelancers

AS3 Coding (Flash or Flex expert)

$30-250 USD

Fechado
Publicado há mais de 13 anos

$30-250 USD

Pago na entrega
I have AS3 code that works nicely to print SWFs, but trying to do the same thing in Flex (print the swfLoader) has not proven to work. I get a blank page. When I try using the FlexPrintJob class instead, the text outlines from my swfs do not print correctly, and I cannot change the orientation of the page. I'll pay up to $50 for somebody to get this working in Flex, and perhaps help me set resolution of the output! Here is the code: import mx.printing.*; 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]; // Create a PrintJob instance. private function doPrint():void { // Create an instance of the FlexPrintJob class. var printJob:PrintJob = new PrintJob(); var options:PrintJobOptions = new PrintJobOptions(); [login to view URL] = true; removeMask(); // Start the print job. if ([login to view URL]() != true) return; var sp:Sprite = new Sprite(); var a:BitmapData = new BitmapData([login to view URL], [login to view URL]); var b:Bitmap = new Bitmap(a,"auto",false); //[login to view URL](stage); [login to view URL]([login to view URL]); addChild(sp); [login to view URL](b) // Add the object to print. Do not scale it. // [login to view URL](sp, [login to view URL]); [login to view URL](sp, null,options); if(((printJob.orientation=="portrait")&&([login to view URL]>[login to view URL]))|| ((printJob.orientation=="landscape")&&([login to view URL]<[login to view URL]))) { [login to view URL] = -90; } var printScale=[login to view URL](([login to view URL]),([login to view URL])); [login to view URL] = [login to view URL] = printScale; [login to view URL](sp, null,options); // Send the job to the printer. [login to view URL](); removeChild(sp); replaceMask(); } private function removeMask():void { [login to view URL] = null; [login to view URL] = false; } private function replaceMask():void { [login to view URL] = [login to view URL]; [login to view URL] = true; }
ID do Projeto: 801892

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 14 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
3 freelancers estão ofertando em média $50 USD for esse trabalho
Avatar do Usuário
Flex 4.0/AS3 Experts here. Consider it done.
$50 USD em 2 dias
5,0 (1 avaliação)
4,2
4,2
Avatar do Usuário
Hi, Willing to do this task right now.
$50 USD em 2 dias
5,0 (1 avaliação)
3,1
3,1
Avatar do Usuário
I have a question. Chek PM box
$50 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Anchorage, United States
5,0
40
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.