Search code examples
apache-flexactionscriptair

Accessing TabNavigator from child mxml :-Adobe AIR


This is my AIR application's UI structure::

Tab Navigater(Main UI)

-->child1.mxml (toggle button bar)

  |--element1.mxml
  |--element2.mxml
  |--element3.mxml

-->child2.mxml (toggle button bar)

  |--element1.mxml
  |--element2.mxml
  |--element3.mxml

-->child3.mxml (toggle button bar)

  |--element1.mxml
  |--element2.mxml
  |--element3.mxml

I want to access the parent element and change that index from child element and child of child element..Can you help me? or advice me. Example: I want to change the tab from the elemet2.mxml in child3.mxml


Solution

  • You can not access directly.You can access through some frameworks or eventlistener.