Mehul, Thanks again. However this doesn't solve the problem. What you suggesting is just the way of making layers in the layer list visible ("checked") when you first open the map. What I need is to take layers that I don't need out of list completely since with "dynamic" type you see the list of all layers that is coming from mxd. From the AGS Flex Viewer design the appropriate way supposed to be using "feature" type but then I get those problems with symbology and labels. By the way labeling was done without Maplex engine, but all my layers missing them when added as "feature".What about raster layers? Sample Flex Viewer maps from ESRI do not have raster examples, I assume they should work with "feature" type.Legend widget honours visiblelayers attribute set on the layers tag (type dynamic) so the sublayer wont display in the legend widget
in example below, sublayers 2 and 3 will be displayed on the map and legend.
e.g
<layer type="dynamic" label="Military" url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/MapServer" visible="true"
visiblelayers="2,3"/>