I feel like this is a very very rookie question, but I hope someone will still assist. (My knowledge of MXML/AS is all swiss cheese-like)
Say I have two custom mxml components, both sitting side-by-side in index.mxml. One of them is a row of buttons and the other is a Panel with a whole bunch of stuff in it.
I want one of the buttons to control that panel being visible or not, but I'm not sure how to make that happen. I CAN do this if I simply sit the buttons inside index.mxml, because then I can refer to the component's ID, but I don't want to do this (gets very messy).
I should note: this is in the context of the index.mxml containing the map frames and graphics layer. The panel component hosts a number of things including a locator and a query task. I feel kind of bad asking such a basic question that isn't explicitly about the API, but I'm a bit short on knowledge of other appropriate forums. Any suggestions on that would be greatly appreciated.