<?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 Rollover tooltip or InfoWindow for Feature Layer using ESRI Flex Viewer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354057#M8364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to achieve a rollover tolltip or InfoWindow effect for a feature layer.&amp;nbsp; I've been using the "FeatureLayer tooltips" and "InfoWindow on MouseOver" samples as starting points.&amp;nbsp; But the problem is I am working in an application based on the ESRI Flex Viewer, and I am having trouble figuring out when/where to attach the "Graphics Add" event handler to the feature layer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I gather from the samples above, that handler must be added &lt;/SPAN&gt;&lt;STRONG&gt;before &lt;/STRONG&gt;&lt;SPAN&gt;the graphics are added to the layer, and therefore before the layer itself is loaded.&amp;nbsp; Therein lies the problem when using the Flex Viewer.&amp;nbsp; In the sample, this is easily addressed because the event can be attached right in the map/layer markup - it is not so easy (I don't think) in the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is, where can I attach this event handler in the context of a Feature Layer in the&amp;nbsp; ESRI Flex Viewer?&amp;nbsp; I've been digging around under src/com/esri/viewer - it looks like I would have to do something custom within MapManager.mxml (for example, in the addLayerToMap method).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I on the right track here? What's the best way to go about this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 20:25:27 GMT</pubDate>
    <dc:creator>DavidMarley</dc:creator>
    <dc:date>2011-02-02T20:25:27Z</dc:date>
    <item>
      <title>Rollover tooltip or InfoWindow for Feature Layer using ESRI Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354057#M8364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to achieve a rollover tolltip or InfoWindow effect for a feature layer.&amp;nbsp; I've been using the "FeatureLayer tooltips" and "InfoWindow on MouseOver" samples as starting points.&amp;nbsp; But the problem is I am working in an application based on the ESRI Flex Viewer, and I am having trouble figuring out when/where to attach the "Graphics Add" event handler to the feature layer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I gather from the samples above, that handler must be added &lt;/SPAN&gt;&lt;STRONG&gt;before &lt;/STRONG&gt;&lt;SPAN&gt;the graphics are added to the layer, and therefore before the layer itself is loaded.&amp;nbsp; Therein lies the problem when using the Flex Viewer.&amp;nbsp; In the sample, this is easily addressed because the event can be attached right in the map/layer markup - it is not so easy (I don't think) in the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is, where can I attach this event handler in the context of a Feature Layer in the&amp;nbsp; ESRI Flex Viewer?&amp;nbsp; I've been digging around under src/com/esri/viewer - it looks like I would have to do something custom within MapManager.mxml (for example, in the addLayerToMap method).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I on the right track here? What's the best way to go about this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 20:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354057#M8364</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2011-02-02T20:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rollover tooltip or InfoWindow for Feature Layer using ESRI Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354058#M8365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may get a good response from the &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;Viewer Forum&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 12:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354058#M8365</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2011-02-03T12:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rollover tooltip or InfoWindow for Feature Layer using ESRI Flex Viewer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354059#M8366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Ken - Yes for some reason I always forget there is a Viewer forum as well.&amp;nbsp; Kind of wish they had just one forum for Flex.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact it looks like there might be a widget to do more-or-less what I am looking for - this will be a start at least:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/21718-Feature-Tooltip-Maptip-for-FlexViewer-2.2?highlight=maptip"&gt;http://forums.arcgis.com/threads/21718-Feature-Tooltip-Maptip-for-FlexViewer-2.2?highlight=maptip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/rollover-tooltip-or-infowindow-for-feature-layer/m-p/354059#M8366</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2011-02-03T13:06:02Z</dc:date>
    </item>
  </channel>
</rss>

