Find Jobs
Hire Freelancers

AS3 Print Help

$30-250 USD

Folyamatban
Kiadva ekkor: több mint 13 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
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; }
Projektazonosító: 799447

A projektről

3 ajánlat
Távolról teljesíthető projekt
Aktiválva: 14 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
3 szabadúszó adott átlagosan $52 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hi please check PM Seth
$50 USD 0 napon belül
4,8 (40 értékelés)
6,1
6,1
Felhasználó avatár
Hi,plz check PM.Thanks.
$50 USD 0 napon belül
4,2 (3 értékelés)
3,7
3,7
Felhasználó avatár
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 3 napon belül
4,4 (1 értékelés)
2,8
2,8

Az ügyfélről

UNITED STATES zászlója
Anchorage, United States
5,0
37
Fizetési mód hitelesítve
Tagság kezdete: dec. 10, 2004

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.