flex - How to hide view stacks in AIR application? -


There is another one for one and one sub-menu for my main menu. I only want to show information about the visibility page of a view stacks. Hide another If I click on the submenu view stack, the mainmenview stack will be hidden. How can I do that? I do not know whether it would be right or not.

I tried (as if = false) submenu view stack

   mx:  

AddChild status = "last forty" & gt; ; & Lt; Mx: viewstock x = "3" y = "94" id = "submenu" height = "499" width = "905" visiable = "wrong" & gt; & Lt; Ns1: Pick15view label = "pick 15" x = "10" y = "10" height = "511" width = "904" show effect = "wipedown" hidden effect = "wipe-up" & gt; & Lt; / Ns1 also: Pick15view & gt; & Lt; Ns1: Lottoview label = "Lotto" x = "0" y = "10" show effect = "wipedown" effect = "wipe-up" height = "493" width = "902" & gt; & Lt; / Ns1 also: Lottoview & gt; & Lt; Ns1: trottingbat label = "trottingbat / palobate" show effect = "wipe down" hide effect = "wipe-up" x = "362" y = "183" height = "48 9" & gt; & Lt; / Ns1 also: Trottingbet & gt; & Lt; / Mx: viewstack & gt; & Lt; / Mx: addChild & gt;

The main menu is viewstock

  & lt; Mx: AddChild position = "lastchild" & gt; & Lt; Mx: viewstock x = "3" y = "94" id = "main menu" height = "499" width = "905" visible = "true" & gt; & Lt; Ns1: home label = "pick 15" x = "10" y = "10" height = "511" width = "904" show effect = "wipedown" hiddenffect = "wipe-up" & gt; & Lt; / Ns1 also: Home & gt; & Lt; Ns1: contact labels = "lotto" x = "0" y = "10" show effect = "wipedown" effect = "wip up" height = "493" width = "902" & gt; & Lt; / Ns1 also: Contact & gt; & Lt; Ns1: rule label = "trottingbat / gallobette" show effect = "wipedown" hide effect = "wipe-up" x = "362" y = "183" height = "48 9" & gt; & Lt; / Ns1 too: Rules & gt; & Lt; / Mx: viewstack & gt;      

Near misspelled attribute is "visible". "Visible" should not be seen.

In addition to this you includeInLayout = "false" .

  & lt; You may want to use mx: ViewStock x = "3" y = "94" id = "submenu" height = "499" width = "905" visible = "false" contains Lilaf = "wrong" & gt;  

There is only one for the main menu.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -