I need to render the final state of a SWF
passing flash vars parameters.
Let's say I use the var text="Some text"
, and the swf shows the text over a static background. I need to render this to a png file, I've tried with gnash but with no luck so far, here is an example of the command I'm running.
gnash --screenshot last --screenshot-file imagename.png -1 -r1 test.swf -P "FlashVars=parameter=text"
The problem is that this renders the background image, without the text that's supposed to be over it.
I can't use swftools
because I don't control the server and they don't want to install the software.
Now I'm allowed to install this on the server.