balitaJackson / flashcanvas

Automatically exported from code.google.com/p/flashcanvas
0 stars 0 forks source link

error in flashcanvas getting image from div #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

trying to get image of a div present in html page 

below method throws error...

_executeCommand: function() {
        // execute commands
        var commands = this._flush();
        if (commands.length > 0) {
            var typp =     "<invoke name='executeCommand' returntype='javascript'><arguments><string>" + commands.join("&#0;") + "</string></arguments></invoke>"
            return eval(this._swf.CallFunction( typp ));
        }
    }

What is the expected output? What do you see instead?
Error while executing eval method

What version of the product are you using? On what operating system?
using flashcanvas with html2canvas with IE8 window 7

Please provide any additional information below.
tried all things to work html2canvas on IE8 but nothing working 
flashcanvas.js gives some hope, but it also throws error..I'm trying to solve 
this in past couple of days.. but nothing gets to work.

Any kind of help will be appreciated..

working fine with ie 9+ versions.

Original issue reported on code.google.com by mohitkum...@gmail.com on 14 Feb 2014 at 6:11

GoogleCodeExporter commented 8 years ago
FlashCanvas-20131211 and FlashCanvas Pro 1.6 support canvas.onload event 
handler, that might be useful to solve your problem. You can read a discussion 
on a similar problem in the following thread.
https://groups.google.com/forum/#!topic/flashcanvas/VBQzqxXE2vE

But I heard that html2canvas already removed support for IE8. I can't guarantee 
html2canvas works with FlashCanvas.

Original comment by revu...@gmail.com on 17 Feb 2014 at 9:20