I have an application that uses the TabNavigator . At the beginning of the application I check for access permission for the user, and then I need to pass the permission to the components of the TabNavigator. Since Flex does not instantiate the components (actually the component selected by selectedIndex) of teh TabNavigator until after the ApplicationComplete process then, I cannot set a variable in the components to the value of the "user permission" I find in the parent Application. So is there a way to have the TabNavigator components (the childre of the main application) reference a variable in the parent application , so that I just have one place where I set the user permission value and then all the children components can just reference?
Any other suggestions would be welcome.
found the answer myself.
mx.core.Application.application.property (replace property by name of property) will do the trick
All components extended from UIComponent also have a parent property that references the direct parent of the component in the display list.