Hi,
When I put a dynamic textfield on a clip using the Flash CC and OpenFL plugin…
- I have an error if the textfield is empty on html5 target.
Uncaught (in promise) TypeError: Cannot read property ‘replace’ of undefined
at Object.EReg.replace (http://localhost:2000/DisplayingABitmap.js:1908:11)
at Object.format.swf.lite.DynamicTextField [as class] (http://localhost:2000/DisplayingABitmap.js:3293:35)
at Object.format.swf.lite.MovieClip.$extend.renderFrame (http://localhost:2000/DisplayingABitmap.js:1458:607)
at Object.format.swf.lite.MovieClip.$extend.update (http://localhost:2000/DisplayingABitmap.js:1495:29)
at Object.format.swf.lite.MovieClip [as class] (http://localhost:2000/DisplayingABitmap.js:1252:7)
at Object.format.swf.lite.MovieClip.$extend.renderFrame (http://localhost:2000/DisplayingABitmap.js:1458:91)
at Object.format.swf.lite.MovieClip.$extend.update (http://localhost:2000/DisplayingABitmap.js:1495:29)
at Object.format.swf.lite.MovieClip [as class] (http://localhost:2000/DisplayingABitmap.js:1252:7)
but it works if I write something in it (using flash CC).
-
when the parent clip and the textfield are both rotated, the textfield has wrong positions on html5 target
-
on flash target, the textfield only appears when rotation = 0;
-
on flash target, the textfield font is not embedded
I tried to create dynamically the texfield with haxe and it seems to work (and solves 1,2,3,4). So I guess this is a openfl plugin problem.