Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 17:59
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash 8 (Moderators: Jorge Solis, ..:: Mazhar Hasan ::.., Andresss)
| | |-+  Snapshot from Flash!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Snapshot from Flash!  (Read 1215 times)
dreamgal
Server what's that
*
Posts: 4


View Profile
« on: 09/27/10, 16:20 »

Hi,

I'm looking for a Save Button functionality - that could allow me to take a snapshot of .swf and allow it to be saved on server and displayed in browser, so people can right-click and will be able to save the image.....

I've been thru the snapshot tutorial http://www.flash-db.com/Tutorials/snapshot/index.php.... which is just great (Millions Thnx to the AUthor) but 'm unable to make the SOURCE TO JPG button work.. I donno where i am wrong....... My server has PHP 4.2+

I am using CS3 and AS2..................I am not much into AS but have little idea about it...

Thnx in advance
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 09/28/10, 10:58 »

Your server have GD library enabled? Any error? Do you have the URL to take a look?

Jorge
Logged

dreamgal
Server what's that
*
Posts: 4


View Profile
« Reply #2 on: 09/28/10, 15:59 »

No errors coming, and I think the GD library is enabled...

Please can you check the link:

http://www.sketchsa.com/save/snapshot.html
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #3 on: 09/29/10, 00:55 »

Code:
[code]Its a windows IIS 7 Server, the file is not available.
Are you sure, there is php available?

You can check this very easy:

just create a file (you can name it info.php) with this content:
[code]
<?php
info
();
?>


Upload it into your webhost root folder.

In your browser enter: http://www.sketchsa.com/info.php

If php is available, you will receive a list of configuration of the php.
There you can see, if GD-Lib is installed and which version it is.[/code][/code]
Logged

happy flashing
Cool
Ronald
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #4 on: 09/29/10, 00:56 »

Its a windows IIS 7 Server, the file is not available.
Are you sure, there is php available?

You can check this very easy:

just create a file (you can name it info.php) with this content:
Code:
<?php
info
();
?>


Upload it into your webhost root folder.

In your browser enter: http://www.sketchsa.com/info.php

If php is available, you will receive a list of configuration of the php.
There you can see, if GD-Lib is installed and which version it is
Logged

happy flashing
Cool
Ronald
dreamgal
Server what's that
*
Posts: 4


View Profile
« Reply #5 on: 09/29/10, 06:10 »

I just checked it, the PHP Version 5.2.11 and GD- bundled (2.0.34 compatible) is available.

I've re-uploaded the files here:

http://www.sketchsa.com/save/snapshot.html

Please check, as I'm able to run the application, its just that , Im unable to get the "source to jpeg" button to work.

Thank a lot...
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #6 on: 09/29/10, 08:50 »

Just allow pop-ups and the image will be generated. Anyway I note your GD library is newer and will output some weird colors (some adjustements are needed that I never finalize)
A better routine could be used from here: http://www.quasimondo.com/archives/000572.php

Jorge

Logged

dreamgal
Server what's that
*
Posts: 4


View Profile
« Reply #7 on: 09/29/10, 17:51 »

Thanks a lot!

I just tried this http://www.quasimondo.com/archives/000572.php, its just amazing, thnx again.

Please can u check this link:

http://www.sketchsa.com/save/BE2/BitmapExporter/Flash/BitmapExporterDemo2.html,

The tried the newer BitmapExporter and just the problem I'm facing is that Im unable to save the image from it (might be due to that FP10 security issue).

Please can u guide me a bit on how to solve it.
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #8 on: 09/29/10, 21:26 »

Ask the guys on sketchsa.com, I'm sure they know his tool much better than me

Jorge
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!