diff --git a/src/Renderer.js b/src/Renderer.js index 046d723..bd09493 100644 --- a/src/Renderer.js +++ b/src/Renderer.js @@ -446,9 +446,9 @@ html2canvas.Renderer = function(parseQueue, opts){ })(script, function(){ - if (typeof FlashCanvas !== "undefined") { + if (typeof window.FlashCanvas !== "undefined") { h2clog("html2canvas: Renderer: Flashcanvas initialized"); - FlashCanvas.initElement( canvas ); + window.FlashCanvas.initElement( canvas ); canvasRenderer(parseQueue); } });