Jump to content

SWF image using php?


liamthebof

Recommended Posts

Hello once again.

 

My latest en devour requires me to produce an image of a static .swf that is embedded on a page.

 

Unfortunately, it has a selection of variables passed to it.

 

Eg

<object width="90" height="175">
<param name="exaple" value="example.swf">
<param name="AllowScriptAccess" value="always">
<param name="FlashVars" value="Lotsofnumbers=lotsofthings">
<param name="scale" value="noscale">

<embed src="example.swf" width="90" height="175" AllowScriptAccess="always" FlashVars="Lotsofnumbers=lotsofthings" scale="noscale">
</embed>
</object>

 

Ive had a look at the swf library but nothing stood out as useful.

 

So, my question is, how can I get some form of screenshot image of the swf file using php as my first choice, though if you know a better using some other technique, please say an I will have a look.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/179287-swf-image-using-php/
Share on other sites

  • 4 weeks later...

hey I have same problem but I want to take image of swf file and save it or just show as png.

 

I had read some about it and it should be done with:

http://www.phpclasses.org/browse/package/2073.html

and with GD library which can be found here:

http://www.libgd.org/releases/

 

can anyone explain me a bit more how to do it and/or post example script which converts swf to f.ex png?

Link to comment
https://forums.phpfreaks.com/topic/179287-swf-image-using-php/#findComment-964295
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.