2 Replies Latest reply on Aug 21, 2010 9:09 PM by supersonicecho

    how to reference a parent property

    Malena Mesarina Level 1



      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.