<?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 Dynamic Legend Error in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553631#M12456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am new to the programming world so I am trying to utilize as many code samples as I can to get a flex project up and running.&amp;nbsp; Currently I am trying to add the Dynamic Legend widget to my map, but I get an error that I cannot find an answer for.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At like 363 I get: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"1046: Type was not found or was not a compile-time constant: LegendDataGroup."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Upon further invesigation it appears that FB thinks legendAC is not an arrayCollection.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can provide some input on this matter I would greatly appreicate it!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 16:07:49 GMT</pubDate>
    <dc:creator>ScottSnider</dc:creator>
    <dc:date>2011-04-11T16:07:49Z</dc:date>
    <item>
      <title>Dynamic Legend Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553631#M12456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am new to the programming world so I am trying to utilize as many code samples as I can to get a flex project up and running.&amp;nbsp; Currently I am trying to add the Dynamic Legend widget to my map, but I get an error that I cannot find an answer for.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At like 363 I get: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"1046: Type was not found or was not a compile-time constant: LegendDataGroup."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Upon further invesigation it appears that FB thinks legendAC is not an arrayCollection.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can provide some input on this matter I would greatly appreicate it!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 16:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553631#M12456</guid>
      <dc:creator>ScottSnider</dc:creator>
      <dc:date>2011-04-11T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553632#M12457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LegendDataGroup is actually an Action Script file (LegendDataGroup.as). Do you have the widget in a folder named exactly DynamicLegend (i.e. widgets/DynamicLegend)? Flex is a case sensitive language.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 00:32:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553632#M12457</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-12T00:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Legend Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553633#M12458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert.&amp;nbsp; I knew it must have been something simple (I also figured if I named this post with your widget that you would see it and reply).&amp;nbsp; Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone reads this because of a similar problem here is what I did wrong:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you download this widget use the "DynamicLegend" folder under the "Uncompiled" folder instead of the base "DynamicLegend" which holds both compiled and uncompiled versions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 10:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-legend-error/m-p/553633#M12458</guid>
      <dc:creator>ScottSnider</dc:creator>
      <dc:date>2011-04-12T10:28:31Z</dc:date>
    </item>
  </channel>
</rss>

