I have an application that called a popup window. From this popup window is called the second window in which data is transmitted, such as an array of strings. In the second box, I can change the data in an array and return the modified data in the first popup window.
I've tried FlexGlobals.topLevelApplication.myFunction (arrayWithData);, but of course get an error, because the data send to the main app.
Tell me how to transfer data in the first popup window from a second, please?
When you create the second pop up, pass a "this" reference from the first pop up to its data (or a custom public var). This way you can access the first pop up from the second one
you are better off dispatching a custom event when passing data out of a component or class.
Beginning of day 3 should help