Hello,
I am trying to use splitText with text on a canvas. The js is exported from flash CC.
(lib.download_free_app = function() {
this.initialize();
this.text = new cjs.Text("download free app", "16px 'Proxima Nova Rg'", "#6D1930");
this.text.lineHeight = 16;
this.text.setTransform(88,168);
this.addChild(this.text);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0.3,0,122.2,23.5);
mySplitText = new SplitText(download_free_app, {type:"chars,words"});
I am getting an error:
TypeError: 'undefined' is not a function (evaluating 't.getElementsByTagName("*")')
Any idea?
Thank you,
fred