I have a ViewStack with 2 VBoxes that is the dataprovider for
my TabBar. In my first VBox, I have a button that, when clicked,
uses a PopUpManager to create a popup titlewindow. Now, when I have
this popup window open and I click on the second tab, I would like
to have this popupwindow hidden until I click the first tab again.
Is there a way to do this? Thanks in advance.
I did something like this, so when I create the popup I add a
reference to it in an ArrayCollection. When the other VBox
displays, it hides any popups in the array. You also need to manage
removing references from the ArrayCollection when the popups are
redisplayed or closed.