Graphics.lineTo error on OpenFL 7.1.2

Graphics.lineTo does not work with OpenFl 7.1.2 when I port to html5 and use open from Internet Explorer 11.

The function works on any other browsers. And it works on Internet Explorer 11 using an older version of OpenFL.

Is there any way to solve this without waiting for a new version?

Are there any errors in the console?

Hi! Yes this is the output of the console:

SCRIPT438: Object doesn’t support property or method 'resetTransform’
Prototype.js (31494,6)

The line described in the message is:



Could you replace resetTransform in your install with setTransform (1, 0, 0, 1, 0, 0), like this:

Thanks! That fixed the problem! :smile:

1 Like