I asked a question early today. Located here. I thought it solved my problem with the Flash Event, but after trying multiple times. The problem still exists. My list is populated with data on the first opening of the pop up, but every time you open it afterwards, it's empty.
Here is the constructor, and case statement that is executed after the pop up is opened.
And this is the original post. Extremely frustrated....
//CONSTRUCTOR: _onGetColumns retrieves the columns from another component successfully after pop up opened
public function ManageColumnsMediator(viewComponent:Object)
super( NAME, viewComponent );
//CASE statement in mediator that executes after columns are retreived successfully
trace("Got Columns"); //JUST TO MAKE SURE I MAKE IT TO THIS CASE STATEMENT AFTER POP UP OPENED (TRUE)
var list:List = new List();
var cols:Array = new Array();
cols = note.getBody() as Array;
list.dataProvider = cols;
list.labelField = cols.headerText;
trace(mx.utils.ObjectUtil.toString(col)); //THIS PRINTS ALL THE DATA EACH TIME
//GETTING VIEW COMPONENT
public function get manageColumns():ManageColumns
return viewComponent as ManageColumns;