I've been driven crazy by how this error seemingly came out of the blue. What happens is that I've got a bunch of TextInputs in various classes, either as part of other components (inside Comboboxes, for example) or on their own; these are all throwing errors for no apparent reason at all.
According to the debugger the reason is because the textinput's background is null, and then from there on whenever it is drawn, updated or validated (don't know which), it used getDefinitionByName() which then throws the error.
The problem is that as far as I know there's no property on TextInput such as background; there's only opaqueBackground. Setting that to a number does not do anything either.
What do I do next? Do I try replacing all comboboxes and textinputs with some other components (a rather huge task), or is there something else?
Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp
"Sit look rub panda" - Alan Davies