Highlighted

Console Error in the frame before TextInput

Community Beginner ,
Aug 04, 2020

Copy link to clipboard

Copied

I'm converting and old FL game in HTML5 + JS
In a frame of a subclip timeline the user shound input his name in a TextInput component.
Well, if the component is on the stage, in the previous frame I get an error:

Uncaught TypeError: Cannot read property 'css' of null
at String.<anonymous> (anwidget.js?1596554221158:171)
at Function.each (jquery-2.2.4.min.js?1596554221158:2)
at $.<computed>.<computed>.applyProperties (anwidget.js?1596554221158:168)
at $.<computed>.<computed>.update (anwidget.js?1596554221158:161)
at lib.an_TextInput._handleDrawEnd (avatar_maker.js?1596554221293:14572)
at createjs-2015.11.26.min.js:12

 

If I delete the component, in the same frame (the previos of where it should be the input) I don't have any console error.

 

I tried to delete TI from lib and place a new one, I tried to put one TI on frame 1. No success 😞
Any clue to solve this?

Animate 19.1 (349)

TOPICS
Code, Error

Views

9

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Console Error in the frame before TextInput

Community Beginner ,
Aug 04, 2020

Copy link to clipboard

Copied

I'm converting and old FL game in HTML5 + JS
In a frame of a subclip timeline the user shound input his name in a TextInput component.
Well, if the component is on the stage, in the previous frame I get an error:

Uncaught TypeError: Cannot read property 'css' of null
at String.<anonymous> (anwidget.js?1596554221158:171)
at Function.each (jquery-2.2.4.min.js?1596554221158:2)
at $.<computed>.<computed>.applyProperties (anwidget.js?1596554221158:168)
at $.<computed>.<computed>.update (anwidget.js?1596554221158:161)
at lib.an_TextInput._handleDrawEnd (avatar_maker.js?1596554221293:14572)
at createjs-2015.11.26.min.js:12

 

If I delete the component, in the same frame (the previos of where it should be the input) I don't have any console error.

 

I tried to delete TI from lib and place a new one, I tried to put one TI on frame 1. No success 😞
Any clue to solve this?

Animate 19.1 (349)

TOPICS
Code, Error

Views

10

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 04, 2020 0

Have something to add?

Join the conversation