Hi, I need to know what is the reason when I try to set a value in the text Property of a TextInput control contained in tabNavegator control.
when I try to do this
ctrol.text = ' ';
the error is :
Error #1009: Cannot access a property or method of a null object reference.
With the navigator container, such as TabNavigator and ViewStack, etc. by default only children of the first displayed view are instantiated, and the subsequent view children are instantiated only when that view is accessed.
You can set creationPolicy="all" for the TabNavigator and this error will not occur, but if your UI is complex it can affect performance of startup time.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services
Thank you, I solved the problem.