From reference:The textAttribute is the string representing the attribute of the graphic that should populate the "text" content.... I want the TextSymbol to display custom text for each map point...
use textFunctionpublic function myTextFunction(point:MapPoint, attributes:Object):String
{
var label:String = StringUtil.substitute("X: {0}, Y:{1}", point.x, point.y);
return label;
}
...
<esri:TextSymbol background="true"
backgroundColor="0xFFFFFF"
border="true"
...
textFunction="myTextFunction">
<flash:TextFormat bold="true" size="16"/>
</esri:TextSymbol>