Trixie, Andrew thought that you were using FlexViewer. Try this code: <esri:Map id="myMap" load="zoomToUnitedStates()">
<esri:infoWindowContent>
<mx:TextArea id="myTextArea" width="250" height="75"/>
</esri:infoWindowContent>
<esri:FeatureLayer id="fLayer"
mode="snapshot"
outFields="
"
graphicAdd="fLayer_graphicAddHandler(event)"
url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5">
<esri:renderer>
<esri:SimpleRenderer>
<esri:symbol>
<esri:SimpleFillSymbol id="fillsym" style="solid" color="0x00FF00" alpha="0.6">
<esri:SimpleLineSymbol width="2" color="0x00FF00" alpha="1"/>
</esri:SimpleFillSymbol>
</esri:symbol>
</esri:SimpleRenderer>
</esri:renderer>
</esri:FeatureLayer>
</esri:Map>
import com.esri.ags.events.GraphicEvent;
protected function fLayer_graphicAddHandler(event:GraphicEvent):void
{
// just so we can add tool tips
event.graphic.toolTip = event.graphic.attributes.STATE_NAME + "\n";
event.graphic.toolTip += "2007 Population " + event.graphic.attributes.POP2007;
}