Looks like you may still be using Flex 3, so you would want to review using view states.http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_3.htmlIf you're using Flex 4.X, check this link outhttp://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf63611-7ff1.htmlFlex 4 states are drastically different than they were in 3.
<esri:infoWindowRenderer> <fx:Component> <mx:VBox backgroundColor="0xffffff" width="100%" height="100%" color="#5588a6" label="{data['GIS.Samplets_Join.BEACH_NAME'].toString().toUpperCase()}"> <mx:Label text="from {data['GIS.Samplets_Join.ADVISORYFROM']} to {data['GIS.Samplets_Join.ADVISORYTO']}"/> <mx:Image source="{data.GIS.STATION.STATUS == 'Green'?'assets/swimokgraphic.PNG':'assets/noswimokgraphic.PNG'}"/> <mx:Label text="Date of Test: {data['GIS.STATION.DATE_COLLECTED']}" /> <mx:LinkButton id="lnkButton" label="Frequently Asked Questions" fontWeight="bold" textDecoration="underline" /> </mx:VBox> </fx:Component> </esri:infoWindowRenderer>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.