air - How to manage Two WindowedApplication in Flex? -


case:

1) there 2 .mxml files (windowed application): 1 log-in(active window/ start window) , other main window.

2) main window has viewstack

3) on log-in successful, log-inhandler called main window.

4) log-inhandler access viewstack id of main window.

5) viewstack id shows null.

question:

1) how solve case?

  1. you should not use 2 windowed applications
  2. make login page mxmlcomponent
  3. add login page new nativewindow main app, can communicate it.

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -