Is it possible to add a WMS service as a layer in a Flex Viewer app? I'm a little confused that all the layers show as the same server, how do you specify a specific layer?
Matthew,
you use the visiblelayers attribute to identify which layers you want, eg:
<layer label="Cartorisque WMS 67" type="wms" visible="false" alpha="1" skipgetcapabilities="true" version="1.1.0" visiblelayers="ALEA_SEISME_SYNTHESE,ALEA_SEISME_SYNTHESE" url="http://cartorisque.prim.net/wms/67?" />
To find out your layer name look at the capabilities of your wms:
http://cartorisque.prim.net/wms/67?request=getcapabilities
Regards
Anthony