Find Jobs
Hire Freelancers

AS3 Print Help

$30-250 USD

En curso
Publicado hace más de 13 años

$30-250 USD

Pagado a la 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 del proyecto: 799447

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 14 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de $52 USD por este trabajo
Avatar del usuario
Hi please check PM Seth
$50 USD en 0 día
4,8 (40 comentarios)
6,1
6,1
Avatar del usuario
Hi,plz check PM.Thanks.
$50 USD en 0 día
4,2 (3 comentarios)
3,7
3,7
Avatar del usuario
We have a powerful team of professional designers, and can provide you delivery before payment service.(No advance payment is needed. We offer samples of products first. Should you be satisfied and make your decision of one, you would pay.) Please contact us before accepting our bid. Thank you very much.
$55 USD en 3 días
4,4 (1 comentario)
2,8
2,8

Sobre este cliente

Bandera de UNITED STATES
Anchorage, United States
5,0
37
Forma de pago verificada
Miembro desde dic 10, 2004

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.