Error on debug if naming a textarea with _txt ending in flash cs 4 AS3
I was doing a tutorial, and i notice that if i put the na开发者_StackOverflow社区me of a text area with a _txt ending i end up with this error
TypeError: Error #1034: Type Coercion failed: cannot convert fl.controls::TextArea@1ef0221 to fl.controls.TextInput.
anybody knows why ?
Are you sure that it's a naming issue? It sounds like you may have used the wrong component or are casting it incorrectly in your code. If you could post your code, that would be helpful.
精彩评论