Encountered a similar issue during the tutorial. Specifically, the error arose at this line:
x = ofc.post_image( url, 'done', debug );
On my browser, the error message displayed was:
Object doesn't support this property or method
.
The root cause was identified in the following lines of code:
function findSWF(movieName) {
if (navigator.appName.indexOf("Microsoft")!= -1) {
return window[movieName];
} else {
return document[movieName];
}
}
Upon inspection, it was observed that return window[movieName]
was triggering in my case due to using IE8 as my browser.
To resolve the issue, I opted to remove the conditional statement and utilize return document[movieName]
only:
function findSWF(movieName) {
return document[movieName];
}
Implementing this modification successfully rectified the problem, enabling me to successfully save the charts as images.