Skip to main content
July 16, 2007
Question

flash as3.0 screen shot with php

  • July 16, 2007
  • 37 replies
  • 4382 views
hello, i'm so close to actually getting this to work and i'm breaking down and asking for some help. here is my actionscript and php codes, why doesn't this work?

the link for a preview and the error:
Link here

This topic has been closed for replies.

37 replies

July 16, 2007
http://www.bytearray.org/wp-content/uploads/2007/04/jpeg_encoder_amfphp/

there is the link of it in action. for screen shots of high quality it is very fast. i can make it save to the disk locally, but never save to the server?
Inspiring
July 17, 2007
Did you see my earlier post.. and dzedward's? Your php script does not appear to be accessible.

If you click on the link:
http://www.richardson-graphics.com/testJpegSave/create.php?name=snapshot.jpg

Then I believe you should see:

result=An error occured.

In your browser window. But instead you get a 404 page not found.
July 16, 2007
the www.quasimondo.com is very slow and i tried it already. it uses as2.0 and sends the data over a connection usually giving the flash player is running slow click here to abort message.

i did find someone using it in as3.0 and used most of there code, however i couldn't even re-use their files to re-create their video capture.

mine is much simplier than a video screen shot. i just want to take a movie clip and save it's "screen shot" to a jpeg. as3.0 allows you to do this much faster.
kglad
Community Expert
Community Expert
July 16, 2007
i made an application that worked fine using mario klingemann's bitmapexporter class:

www.quasimondo.com
Damon Edwards
Inspiring
July 16, 2007
i can see the page in firefox, however, I do receive this error

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: create.php?name=snapshot.jpg
at finalSave_fla::MainTimeline/finalSave_fla::frame1()
Inspiring
July 16, 2007
I don't know anything about it, sorry.

I know PHP 5.2.2 has problems with $GLOBALS["HTTP_RAW_POST_DATA"]

This wasn't a problem in 5.2.1 and is apparently fixed in 5.2.3. There are also simple workarounds posted if that's related.

I took a quick look at the link you posted. Firefox showed me the request for create.php returned a page not found response:
http://www.richardson-graphics.com/testJpegSave/create.php?name=snapshot.jpg

Perhaps that helps, perhaps not. Good luck.
July 16, 2007
anyone know anything about this????
July 16, 2007
and the php...