I have written an external component that will check to see what layers are currently turned on and based on that, will show different results in in the infoWindow.My infoWindowRenderer is:<?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:supportClasses="com.esri.ags.components.supportClasses.*" initialize="initRenderer()"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <fx:Script> <![CDATA[ import com.esri.ags.Map; import mx.core.FlexGlobals; [Bindable] public var mainMap:Map; [Bindable] public var houseVis:Boolean; [Bindable] public var senateVis:Boolean; [Bindable] public var congressVis:Boolean; public function initRenderer(): void { mainMap = FlexGlobals.topLevelApplication.mainMap; houseVis = FlexGlobals.topLevelApplication.houseLayer.visible; senateVis = FlexGlobals.topLevelApplication.senateLayer.visible; congressVis = FlexGlobals.topLevelApplication.congressLayer.visible; trace ("within MyDistrictWindowRenderer, mainMap is " + mainMap.id + ", houseVis = " + houseVis + ", senateVis = " + senateVis + ", congressVis = " + congressVis); } ]]> </fx:Script> <supportClasses:InfoWindowLabel text="Missouri Districts" styleName="balloonTitle" /> <s:Label includeInLayout="{houseVis != ''? true:false}" visible="{houseVis != ''? true:false}" text="House: {data.HOUSE_DIST}" paddingTop="2"/> <s:Label includeInLayout="{senateVis != ''? true:false}" visible="{senateVis != ''? true:false}" text="Senate: {data.SEN_DIST}" paddingTop="2" /> <s:Label includeInLayout="{congressVis != ''? true:false}" visible="{congressVis != ''? true:false}" text="Congressional: {data.CONG_DIST}" paddingTop="2" /> </mx:VBox>I'm using a graphicslayer with event listeners to add the infoWindow (these are polygons). I have a composite layer that I'm using for labeling that contains fields for house, senate and congressional districts (so I can return all 3 districts from a single click into a single infoWindow). Whatever combination of layers I have turned on, the Renderer should recognize and set the visibility for each label based on the variable I have set for layer visibility. This should make my infoWindowRenderer a lot more dynamic. Here is where I'm calling the infoWindow:private function onMouseUp(event:MouseEvent):void { var g:Graphic = Graphic(event.currentTarget); mainMap.infoWindow.hide(); mainMap.infoWindow.data = g.attributes; mainMap.infoWindow.closeButtonVisible=true; mainMap.infoWindow.content = myInfoWindowRenderer.newInstance(); mainMap.infoWindow.show( MapPoint(g.geometry.extent.center) ); mainMap.infoWindow.styleName = "myInfoWindow"; g.checkForMouseListeners = false; }This works up to a point. For example, if I have all 3 layers turned on, when I click I see all 3 district numbers listed. When I turn off a layer (for example, house) and click in another part of the state, it shows me just the senate and congressional and the house is not included. If I click back to my original area, it still remembers that original graphic (or event.currentTarget). It will continue to remember what the visibility/renderer settings were for as many times as I care to click in that same area.Is there a way to clear this out and somehow not have it remember that I've already clicked it once so it resets the infoWindowRenderer?