ボタンが入ったHBoxがいくつかあります。プログラムで特定のボタンを非表示にします。ある時点で、すべてのボタンが非表示になります。すべてのボタンが非表示になっていることを確認するにはどうすればよいですか?そうするための最も簡単な方法は何ですか?
各ボタンの可視性は、他のボタンとは独立して決定されます。
<mx:HBox>
<mx:Button id="button1"
click="clickHandler(event);"
toggle="true"
visible=true/>
<mx:Button id="button2"
click="clickHandler(event);"
toggle="true"
visible=false/>
<mx:Button id="button3"
click="clickHandler(event);"
toggle="true"
visible=true/>
</mx:HBox>
<mx:HBox>
<mx:Button id="button4"
click="clickHandler(event);"
toggle="true"
visible=false/>
<mx:Button id="button5"
click="clickHandler(event);"
toggle="true"
visible=true/>
<mx:Button id="button6"
click="clickHandler(event);"
toggle="true"
visible=false/>
</mx:HBox>
ありがとうございました。
-ラクシュミディ