hi guys,it is some time I'm trying to develop mobile applications with api flex 3.0 in flash builder 4.6.I created a form containing layers and i use checkbox for on / offexample:
<esri:Map extent="{initialExtent}" wrapAround180="true" zoomSliderVisible="false" id="myMap">
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer url="http://xxxxxxxxxxxxxxx/ArcGIS/rest/services/xxxxxxxxxxxx/MapServer" visible="{Prost.selected}"
alpha="{layer1.value}"/>
</esri:Map>
<s:TitleWindow x="415" y="327" width="334" height="230" backgroundAlpha="0.5" contentBackgroundAlpha="0.5" title="Layer" id="layerToc" close="layerToc.visible=false">
<s:CheckBox id="Prost" selected="false" label="P" x="8" y="5" fontWeight="bold" color="#FFFFFF"/>
<s:HSlider x="16" y="45" width="248" height="26" id="layer1" minimum="0" maximum="1" value="1" snapInterval=".01"/>
</s:TitleWindow>
<s:Form x="12" y="411" width="63" height="179" backgroundAlpha="0.5">
<s:Button width="38" height="42" icon="assets/i_legend2.png" label="Layer" id="layerPanel"
click="layerToc.visible ? layerToc.visible=false: layerToc.visible=true"/>
Now i would like to create a toc layer in a different view but using this way of working I can not move the display of layers from one view to another.can anyone help me or direct me on a few examples to study?Thanksgoodbye