This content has been marked as final. Show 4 replies
(By screens, I assume you mean windows -- AIR uses the term screen to represent a desktop screen/monitor).
Yes. As long as the content of a window or frame is in the same security sandbox AND you have a reference to an object in the other window, you can access that object. In AIR this works the same as it would in a typical browser.
(The only caveat being that if you use the createRootWindow() function rather than the window.open() function to create a window, the opener and parent properties of the created window aren't automatically set.)
Sorry, I know that was long!
For example, your main application file (i.e. index.html) could use frames so that the main page is never unloaded. Thus you would save your session variables in the parent frame and make sure that only the child frames ever "navigated" to a new page. The loaded pages would then access the parent to load/save any data.
Alright, that makes sense. I will try that and see where it gets me. Thanks for your help and advice. It's funny, I've spent all this time on the web avoiding frames, and yet, here I am using frames :)