Hello,
I need to convert a value that I have loaded from an ArcGIS Server and convert it to a percentage. The data loads just fine and on the mouse over I see the correct data I just need to make it a percentage on line 27.
I am using Flash Builder 4 and the ArcGIS API for Flex. Here is what I have posted, any help would be appreciated.
21 private function onMouseOverHandler(event:MouseEvent):void
22 {
23 var gr:Graphic = Graphic(event.target);
24 gr.symbol = mouseOverSymbol;
25 myTextArea.htmlText = "<b> FIPS County Code: </b>" + gr.attributes['ba_cb_cty.FPS'] + "
"
26 + "<b>County Name: </b>" + gr.attributes['ba_cb_cty.Name'] + "
"
27 + "<b>Projected Population Change: </b>" + gr.attributes['3_PRJPOP.PRJPC___'] + "
"
28 myMap.infoWindow.label = gr.attributes['3_PRJPOP.LABEL'];
29 myMap.infoWindow.closeButtonVisible = false;
30 myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));
31 }
Thanks,
Titoqan