in my config.xml file, but the definition expression isn't working. It's just grabbing all the counties in the country and displaying them all at once.
I looked in the MapManager.mxml file, and it looked to me like you can set the definitionExpression property, but maybe I'm wrong. Can anyone point me in the right direction here?
I can see where you thought that based on what you say in the MapManager the attribute was called definitionExpression, but it is actually all lower case definitionexpression you have to look the concept page and layer tag for the viewer: http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm.
Just a general comment - all the tags and properties that you specify in the xml files are lowercase. So while it's good to look at the documentation, as for the casing, all the tags are all lowercase 🙂