<?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 update LayerManager after one layer checkbox was checked in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-layermanager-after-one-layer-checkbox-was/m-p/305988#M7253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do something with LayerManager? If user turn on one layer, I want the application turn off another layer in the LayerManager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What event should the application listen to when user turn on a layer? I tried add code in MapManager.mxml, but that does not work for me.&amp;nbsp;&amp;nbsp;&amp;nbsp; SiteContainer.addEventListener(AppEvent.LAYER_VISIBILITY_CHANGED, myFunction);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I can also do something at TocItemRender.as at onCheckBoxClick. But I don't know how can I get a list of hte TocItem array. Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cindy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 19:50:39 GMT</pubDate>
    <dc:creator>CindyLu</dc:creator>
    <dc:date>2010-11-22T19:50:39Z</dc:date>
    <item>
      <title>update LayerManager after one layer checkbox was checked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-layermanager-after-one-layer-checkbox-was/m-p/305988#M7253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do something with LayerManager? If user turn on one layer, I want the application turn off another layer in the LayerManager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What event should the application listen to when user turn on a layer? I tried add code in MapManager.mxml, but that does not work for me.&amp;nbsp;&amp;nbsp;&amp;nbsp; SiteContainer.addEventListener(AppEvent.LAYER_VISIBILITY_CHANGED, myFunction);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I can also do something at TocItemRender.as at onCheckBoxClick. But I don't know how can I get a list of hte TocItem array. Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cindy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 19:50:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/update-layermanager-after-one-layer-checkbox-was/m-p/305988#M7253</guid>
      <dc:creator>CindyLu</dc:creator>
      <dc:date>2010-11-22T19:50:39Z</dc:date>
    </item>
  </channel>
</rss>

