Fix issue in Flash (ActionScript 3.0)

We have a SWF file that used to save a screenshot of whatever is on it to a file. Something with recent browser and/or Flash version updates has caused that feature to stop working. The method used is as follows:

var jpgSource:BitmapData=new BitmapData(800,700);

[url removed, login to view](this);

var jpgEncoder:JPGEncoder=new JPGEncoder(98);

var jpgStream:ByteArray=[url removed, login to view](jpgSource);

var header:URLRequestHeader=new URLRequestHeader("Content-type","application/octet-stream");

var jpgURLRequest:URLRequest=new URLRequest("[url removed, login to view]");

[url removed, login to view](header);

jpgURLRequest.method=[url removed, login to view];


navigateToURL(jpgURLRequest, "_blank");

As you can see, it took a screenshot of the Flash artboard and then sent the JPG stream to a new URL where PHP would spit out this:


header('Content-Type: image/jpeg');

header("Content-Disposition: attachment; filename=[url removed, login to view]");

echo $jpg;

This way it would get the browser to download a JPG file from the screenshot of the Flash artboard. It no longer works and we need troubleshooting done. We will provide the SWF, FLA and PHP files to the successful bidder.

Beceriler: Adobe Flash

Daha fazlasını gör: flash version 3.0, draw whatever, fix cross browser flash issue, redirect url actionscript flash, url http photo image upload viewer, actionscript flash redirect url, actionscript flash games, pseudo perspective actionscript flash, actionscript flash template circle, flash compatibility fix, javascript actionscript flash, actionscript flash php mysql

İşveren Hakkında:
( 8 değerlendirme ) Canada

Proje NO: #8936256



HI, is it done with as3 / 2? if file is saved on user disk we can bypass php. can i have a look at source? regards,

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(122 Değerlendirme)

Bu iş için 9 freelancer ortalamada $38 teklif veriyor


Hi, I can fix this, let's talk about it. My best regards, Oscar

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(59 Değerlendirme)

Hi! Looking at the code, it should work. If you award me the project and sent files, I'll definately make it work again within 1-2 hours. Regards, Konstantin.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(50 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde35%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(95 Değerlendirme)

Hello. I have similar script that saves image in server and it works. I think, I can help you to fix your problem. I have rich experience working with Flash and ActionScript 3.0. Thanks

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(23 Değerlendirme)

Hello. I'll do it for you. I make games. Some examples: [login to view URL] [login to view URL] [login to view URL] Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(14 Değerlendirme)

Hello. I'm an ActionScript 3.0 programmer. I can make your project. I know why your code doesn't work. I will correct your code within 5 min.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(17 Değerlendirme)

Hello, you can send sources to me, I will debug and fix the problem and back with result, then you will select me for this project Regards

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(2 Değerlendirme)

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)