Need to create a viewstack index on application creation
i have a flex app in which i have a data grid that i load XML data from a mysql database with php. I am creating an admin application in which i use then itemclick fuction of the datagrid to load the row information into a edit viewstate in the same stack. the itemclick data goes into string variables. when i change to that state the data wont load because flex hasnt created the edit canvas yet so it doesnt see the text inputs as existing. i tried loading the data on the creation of the edit canvas but then once editing one row u cant go back and edit another one because flex has already created the edit canvas. is there a actionscript function that i can tell the appilction to run in the creationcompleate part of the application tag that will tell flex to create the entire viewstack
|