I have two mxml files:
My main mxml file has a feature that pops up a TitleWindow for user input. When the appropriate input is made in that TitleWindow popup, it fills a bindable ArrayCollection that facilitates populating a ComboBox in the main mxml file. The TitleWindow then removes itself (via a call to PopUpManager.removePopUp(this)) and I'm back at my main mxml file where the ComboBox is showing the expected entries. So far so good.
When the user selects from the main's ComboBox, the "changed" event will trigger a database call and fill a DataGrid with the applicable contents. Again... so far so good.
Here's my problem (and it's quite beginner-level, I'm sure)... After the PopUpManager removes itself, the DataGrid is empty because the ComboBox hasn't been triggered yet by a 'changed' event. I would like to populate the DataGrid after the TitleWindow is removed, to reflect the first option (selectedIndex=0) in the ComboBox. I don't know how to hook into that close event for the TitleWindow from my main.mxml file.