<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Programmatically changing inforenderer states? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-changing-inforenderer-states/m-p/434089#M10117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcGIS Lite for Flex (mobile) to get multi-state inforenderers for the infoSymbols (following the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/InfoSymbols_with_states/01nq0000001v000000/"&gt;"InfoSymbols with states"&lt;/A&gt;&lt;SPAN&gt; example) but I guess my question would apply to API 2.4 in general. I'd like to programmatically change the current state of my info renderer as if it were clicked in the UI but I am not sure of how to get hold of individual renderers from the graphics layer or provider. Here is my MXML: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;views:InfoSymbol2 id="multiResSymbol"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoRenderer="views.MultiResInfoSymbolRenderer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacement="center"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:GraphicsLayer id="myGraphicsLayer" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol="{multiResSymbol}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicProvider="{mapGraphicProvider}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 16:51:21 GMT</pubDate>
    <dc:creator>gengwang</dc:creator>
    <dc:date>2011-11-17T16:51:21Z</dc:date>
    <item>
      <title>Programmatically changing inforenderer states?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-changing-inforenderer-states/m-p/434089#M10117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcGIS Lite for Flex (mobile) to get multi-state inforenderers for the infoSymbols (following the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/InfoSymbols_with_states/01nq0000001v000000/"&gt;"InfoSymbols with states"&lt;/A&gt;&lt;SPAN&gt; example) but I guess my question would apply to API 2.4 in general. I'd like to programmatically change the current state of my info renderer as if it were clicked in the UI but I am not sure of how to get hold of individual renderers from the graphics layer or provider. Here is my MXML: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;views:InfoSymbol2 id="multiResSymbol"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoRenderer="views.MultiResInfoSymbolRenderer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacement="center"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:GraphicsLayer id="myGraphicsLayer" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol="{multiResSymbol}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicProvider="{mapGraphicProvider}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-changing-inforenderer-states/m-p/434089#M10117</guid>
      <dc:creator>gengwang</dc:creator>
      <dc:date>2011-11-17T16:51:21Z</dc:date>
    </item>
  </channel>
</rss>

