Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Converting Open Flash Charts to an Image.

by hossman (Prior)
on Apr 05, 2010 at 02:20 UTC ( #832751=note: print w/replies, xml ) Need Help??

in reply to Converting Open Flash Charts to an Image.

Spending a lot of time figuring out how to execute javascript on your server isn't really going to help you -- all the javascript does is instruct the Flash object to generate the image, and POST the binary data to the webserver, so executing it on the server doesn't do any good unless you are also executing the flash on your server

Frankly, if you goal is that the user can trigger PDF generation (from the browser), then why don't you just use this same javascript to tell the Flash object to post the raw image back to your server, and then when your server gets the entire image, it can do whatever PDF generation it wants with it.

The Javascript hook provided by the OpenFlashChart API even has a callback mechanism so you can trigger a download (or a redirect to a download) of the generated PDF.

  • Comment on Re: Converting Open Flash Charts to an Image.

Replies are listed 'Best First'.
Re^2: Converting Open Flash Charts to an Image.
by tmharish (Friar) on Apr 07, 2010 at 07:25 UTC
    Hi hossman

    Thanks for the great idea! Managed to implement it and it works perfectly!

      mmmm, sory for my english, but I don't understand what is last solution.???
      hi!! tmharish, i need to do something like this, can you tell me how you solve the problem?, cause i dont know what mean "debug" at the Open Flash Chart API,:S, thaks

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://832751]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2021-10-16 02:52 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (69 votes). Check out past polls.