How could I get the array of visible layers as set in the TOC and use it in the application code?
From my understanding, the layerInfos variable in the LayerTOC.mxml component gets updated when the user checks or unchecks the box next to the layer name. I would want to use that variable in the Dynamic_TOC.mxml application code.
This is probably simple but I would really appreciate any help/direction. Thanks!
Thanks, Dasa. I managed to figure out the syntax for getting the visible layers array collection and using it as an array. I'm learning this stuff as I go.:)
Matthew, I was reading this thread and like you I am new at this and was wondering if you could pass on the code that you wrote that resolved this issue. Thanks in advanne Richard Krell