Hello.I am newbie in Flex and AS and I am using ArcGIS 9.3.1 and Flex 3. I am bored of my static Labels in my flex map, however, I have tried to display the Ville's Name of my SQL table over a point or a Polygon. I did it over Points with a code from Sample/ArcGIS API for Flex, but I want it to appear just when the mouse pass over the point or polygon.Searching I found ToolTip, which is very good because the Label just appear when I pass the mouse over any object, but I don't know how to connect the Tooltip whit my SQL table... sure is with a Function and MouseOver.Any of you can help me or have a code to share with me?.. I appreciate it so much.This is the Code<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:esri="http://www.esri.com/2008/ags"
xmlns:flash="flash.text.*">
<!-- Start Declarations -->
<esri:QueryTask id="queryTask"
url="http://atlas/ArcGIS/rest/services/AdministrativeCongo/MapServer/1"/>
<esri:Query id="query"
geometry="{map.extent}"
outFields="Sname"
outSpatialReference="{map.spatialReference}"
returnGeometry="true" />
<!-- End Declarations -->
<mx:Text text="Using the textAttribute on the TextSymbol" width="100%"/>
<esri:Map id="map" extentChange="queryTask.execute(query)">
<esri:extent>
<esri:Extent xmin="-123.590" ymin="44.844" xmax="-121.832" ymax="46.024">
<esri:SpatialReference wkid="4326"/>
</esri:Extent>
</esri:extent>
<esri:ArcGISTiledMapServiceLayer
url="http://atlas/ArcGIS/rest/services/AdministrativeCongo/MapServer"/>
<esri:GraphicsLayer id="graphicsLayer"
graphicProvider="{queryTask.executeLastResult.features}">
<esri:symbol>
<esri:CompositeSymbol>
<esri:SimpleMarkerSymbol color="0xFF0000" size="10" style="circle"/>
<esri:TextSymbol textAttribute="Sname" placement="start" yoffset="10" color="0xFFFFFF" backgroundColor="0x0000FF">
<flash:TextFormat bold="true" size="16"/>
</esri:TextSymbol>
</esri:CompositeSymbol>
</esri:symbol>
</esri:GraphicsLayer>
</esri:Map>
</mx:Application>