Getting access to featurelayers that are already in the map

Discussion created by garethmann on Jan 19, 2012
Latest reply on Jan 20, 2012 by garethmann
All of the samples that work with feature layers define a feature layer and then set it to the full URL of a map service and then add that layer to the map. But what happens if my featurelayer is already in the map because I have already added the entire map service with all the layers I need via "ArcGISDynamicMapServiceLayer"?

I.e. lets say I want to modify the symbology of a specific layer that is already in the map, how do I get access to it?