timkokes / svgweb

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

this._handler is "null or not an object error" in getScreenCTM() method of svg.js file in IE #589

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I want the position for SVG. var 
svgPoint=document.documentElement.createSVGPoint(); // To get the svg point.
2. Now, i am trying to get the matrix using var matrix = 
document.documentElement.getScreenCTM(); //getScreenCTM()is defined in svg.js 
file.  
3.In this method, i am getting error like this._handler is null or not an 
object. var msg = this._handler.sendToFlash('jsGetScreenCTM',
[ this._guid ]); 

What is the expected output? What do you see instead?
Expect output: getScreenCTM() method should return the matrix then i will call 
svgPoint.matrixTransform(matrix.inverse()); to get the svg x and y coordinate.
Current output: this._handler is null or not an object. 

What version of the product are you using? On what operating system,
browser, and version of Flash?

WinXP, IE8, Adobe flash player 10 ActiveX and Adobe flash player 10 plugin. 
Please provide any additional information below. Reduced test cases are
always appreciated!

Original issue reported on code.google.com by getin...@gmail.com on 14 Dec 2010 at 4:47

GoogleCodeExporter commented 9 years ago
Please post an example. 

I suspect you are doing SVG operations in the onload handler, instead of using 
onsvgload or listening to SVGLoad. Please be sure to read through the User 
Manual before posting issues.

Original comment by grick23@gmail.com on 16 Dec 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Without a full example, I cannot troubleshoot this further. This issue will be 
closed soon.

Original comment by grick23@gmail.com on 24 Dec 2010 at 7:53

GoogleCodeExporter commented 9 years ago
Closing due to lack of response. If an example, or even a URL is provided, I am 
willing to open this issue back up.

Original comment by grick23@gmail.com on 30 Dec 2010 at 8:40