WireIt Community,
I did resolve this issue. In order to use flashcanvas with WireIt
instead of excanas do the following:
- Include FlashCanvas.js, remove includes to excanvas.js
- Change all instances of
if(typeof (G_vmlCanvasManager) !="undefined"){
this.element=G-vmlCanvasManager.initElement(this.element);
}
to
if(typeof (FlashCanas != "undefined"){
this.element=FlashCanvas.initElement(this.element);
}
In my app I found references in wiring-editor.js, wireit.js. wireit-
min.js, canvas.text.js, CanvasElement.js
- Finally, if you are resizing your canvas using wire.setCanvasRegion
will not work. WireIt wire class inherits from the CanvasElement
class so presumably the method will not work for CanvasElement
either. You need to manipulate wire.getContext().canvas.width &
wire.getContext().canvas.height to resize the canvas.
I found in general there was a pretty big performance improvement
although it is still much much slower than using a browser with built-
in HTML5 Canvas functionality such as IE9, FireFox, or Chrome