Tamamlanmış

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

jpgURLRequest.data=jpgStream;

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:

$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];

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ün: 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

Seçilen:

jabaz007

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 25$ USD
(122 Değerlendirme)
6.2

9 freelancers are bidding on average $38 for this job

oskaraqp

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

1 gün içinde 35$ USD
(59 Değerlendirme)
9.0
RyuMaster

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 24$ USD
(50 Değerlendirme)
6.9
jagaro

A proposal has not yet been provided

in 3 gün içinde35$ USD
(95 Değerlendirme)
6.7
Volmyr

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 30$ USD
(23 Değerlendirme)
4.9
loover

Hello. I'll do it for you. I make games. Some examples: [url removed, login to view] [url removed, login to view] [url removed, login to view] Daha fazlası

1 gün içinde 30$ USD
(14 Değerlendirme)
4.1
subdan

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 25$ USD
(17 Değerlendirme)
3.8
DobarinSergey

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 25$ USD
(2 Değerlendirme)
1.8
pnjadhav

A proposal has not yet been provided

1 gün içinde 111$ USD
(0 Değerlendirme)
0.0