AS3 Coding (Flash or Flex expert)

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;


// 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]);


[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]();




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;


Kemahiran: Adobe Flash, Flex

Lihat lagi: get coding, flex code, draw portrait, draw my portrait, draw a portrait of me, code coding, as3 or, as3 0, flash as3 coding work, expert flex coding, as3 landscape stage orientation, flexprintjob swfloader, as3 print text, printjob orientation flex, scale page landscape flash as3, flexprintjob landscape, landscape job, get math, coding job, VOID

Tentang Majikan:
( 40 ulasan ) Anchorage, United States

ID Projek: #801892

3 pekerja bebas membida secara purata $50 untuk pekerjaan ini


Flex 4.0/AS3 Experts here. Consider it done.

$50 USD dalam 2 hari
(1 Ulasan)

Hi, Willing to do this task right now.

$50 USD dalam 2 hari
(1 Ulasan)

I have a question. Chek PM box

$50 USD dalam sehari
(0 Ulasan)