I realized my previous thread didnt have an appropriate tile so I am rephrasing everything
I am working on a web map application that has two combo boxes, one for year (called yearcombo) and for measures (called myURL) for that selected year, and also two radiobuttons (in radioBtnGroup). I have two years and a bunch of measure for each year. I have a map tool tip that when you mouse over the county you see a measure for that specific year. However I have a bunch of measures for each year and I would like to have some help on recoding the code below so I dont have to repeat a thousand times for all the measures I have. Any ideas? (full code and image of the map application are attached).
Below is the code snippet:
public function fLayer_graphicAddHandler(event:GraphicEvent):void { event.graphic.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverHandler); event.graphic.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutHandler); } public function onMouseOverHandler(event:MouseEvent):void {