This also is the case with another textinput component. I tried to remove the component, cleaned my project, built again and added the component once again. But during runtime i still get an error which says the component is null.
The components that "become" null are components that have not been shown so far. The concerning components are placed into an accordion. When you click on the navigatorcontent so that these components become visible, the components do not "become" null and there is no problem..
Is this a bug? That the components are null when they haven't been shown yet ?
How to solve?
Any help is appreciated..
to access the component properties you need to instantiated it with containers like accordian this usually doesn't happen until you display that canvas, to fix this add creationpolicy = "all" then all should work
<mx:Accordion x="198" y="207" width="200" height="200" creationPolicy="all">
Problem solved, thanks a lot!