<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to reference adjacent components? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-reference-adjacent-components/m-p/399643#M9332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a quick graphic that may or may not help explain my situation: &lt;/SPAN&gt;&lt;A href="http://i.imgur.com/IO7j2.png"&gt;http://i.imgur.com/IO7j2.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should note: this is in the context of the index.mxml containing the map frames and graphics layer.&amp;nbsp; The panel component hosts a number of things including a locator and a query task.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2011 19:50:26 GMT</pubDate>
    <dc:creator>AndrewBlakey1</dc:creator>
    <dc:date>2011-04-12T19:50:26Z</dc:date>
    <item>
      <title>How to reference adjacent components?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-reference-adjacent-components/m-p/399643#M9332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a quick graphic that may or may not help explain my situation: &lt;/SPAN&gt;&lt;A href="http://i.imgur.com/IO7j2.png"&gt;http://i.imgur.com/IO7j2.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should note: this is in the context of the index.mxml containing the map frames and graphics layer.&amp;nbsp; The panel component hosts a number of things including a locator and a query task.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 19:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-reference-adjacent-components/m-p/399643#M9332</guid>
      <dc:creator>AndrewBlakey1</dc:creator>
      <dc:date>2011-04-12T19:50:26Z</dc:date>
    </item>
  </channel>
</rss>

