flash 8, as 2.
i 'm maiking my first flash screen application.
here its the structure (screen name)
roots.
login
mainMenu
inclusao
cons
each screen has a fade transition onRevel and onHide. ok.
n the roots screen first frame i hide the mainMenu and the mainMenu nested
screens, leaving only the login screen visible.
mainmenu.setVisible(false);
mainmenu.incluir.setVisible(false);
mainmenu.cons.setVisible(false);
i set the mainmenu neasted sceens visibility to false hoping that when i show
the mainMenu screen it dosen't show it's nested screens.
but this dosen't happen.
when i show the mainmenu using mainmenu.setVisible(true); it shows the nested
screens too. i have to set AGAIN the nested screens to false to hide them, and
the hide occurs AFTER the mainmenu fade in.... showing both screens during the
fade and then after it hides the nested screens.
i want to know if tis is the correct behavior
code in the component login screen :
login.setVisible(false);
mainmenu.setVisible(true);
mainmenu.inclusao.setVisible(false);
mainmenu.cons.setVisible(false);
thanks!
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com