<?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 Re: Navigate through all the features. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356966#M8431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another option is to just listen for the inherited graphicAdd event and then add your mouse listeners there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#event:graphicAdd"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#event:graphicAdd&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Aug 2010 16:33:14 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2010-08-25T16:33:14Z</dc:date>
    <item>
      <title>Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356961#M8426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In MY SFV, one widget is loaded at application startup (preloaded) . In the init methond of widget I want to navigate through all features of a layer that is added to map as featurelayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to&amp;nbsp; get the layer and also able to cast Layer into FeatureLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;But featurelay.featureCollection is null.&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var featurelayer:FeatureLayer; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for each (var layer:Layer in map.layers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if( layer is FeatureLayer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.refresh();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var featurelay:FeatureLayer = FeatureLayer(layer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for each (var gra:Graphic in featurelay.featureCollection.featureSet.features)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gra.addEventListener(MouseEvent.MOUSE_OVER, rollOverGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gra.addEventListener(MouseEvent.ROLL_OUT, rollOutGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 11:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356961#M8426</guid>
      <dc:creator>shafitrumboo</dc:creator>
      <dc:date>2010-08-24T11:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356962#M8427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The features can be found in the inherited graphicProvider property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#graphicProvider"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#graphicProvider&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The featureCollection is used when you want to initialize the FeatureLayer with features from outside of ArcGIS Server like in this sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=TemporalRenderer_FeatureCollection"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=TemporalRenderer_FeatureCollection&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 15:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356962#M8427</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-24T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356963#M8428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI: the API Reference for FeatureLayer and FeatureCollection has been updated today to better explain feature collections.&amp;nbsp; Hopefully the new information will be helpful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/layers/FeatureLayer.html&amp;amp;com/esri/ags/layers/class-list.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/layers/supportClasses/FeatureCollection.html&amp;amp;com/esri/ags/layers/supportClasses/class-list.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/supportClasses/FeatureCollection.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 18:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356963#M8428</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-08-24T18:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356964#M8429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But still featurelay.graphicProvider doesn't contain any Item. It's length is zero&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 08:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356964#M8429</guid>
      <dc:creator>shafitrumboo</dc:creator>
      <dc:date>2010-08-25T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356965#M8430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may be looking the the graphicProvider before the FeatureLayer has fetched the features from the server. To test this, don't preload the widget and instead open the widget after you see the features in the layer on the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 16:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356965#M8430</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-25T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Navigate through all the features.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356966#M8431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another option is to just listen for the inherited graphicAdd event and then add your mouse listeners there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#event:graphicAdd"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#event:graphicAdd&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 16:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigate-through-all-the-features/m-p/356966#M8431</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-25T16:33:14Z</dc:date>
    </item>
  </channel>
</rss>

