<?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: Info Window Problem with Picture Marker Symbol in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66169#M1500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guessing without looking at code: try event.currentTarget instead of event.target to see if it works...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2011 16:36:04 GMT</pubDate>
    <dc:creator>MehulChoksey</dc:creator>
    <dc:date>2011-12-07T16:36:04Z</dc:date>
    <item>
      <title>Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66166#M1497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I could not able to get graphics object on mouse click event of Picture Marker Symbol ,Please help me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 05:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66166#M1497</guid>
      <dc:creator>SreejithSS</dc:creator>
      <dc:date>2011-03-24T05:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66167#M1498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you explain more as to what you are trying to achieve and some code will help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 08:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66167#M1498</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-03-25T08:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66168#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I could not able to get graphics object on mouse click event of Picture Marker Symbol ,Please help me&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also need to capture click event of picture marker symbol. I still research how to do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 06:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66168#M1499</guid>
      <dc:creator>shakesvongreen</dc:creator>
      <dc:date>2011-12-07T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66169#M1500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guessing without looking at code: try event.currentTarget instead of event.target to see if it works...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 16:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66169#M1500</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-12-07T16:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66170#M1501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone had any luck getting this to work?&amp;nbsp; Tried mehu11111's suggestion, but that doesn't work either. It seems that when using the PictureMarkerSymbol, the click event returns a MapPoint and not the actual Graphic element. It looks like the currentTarget references the entire FeatureLayer. I'm trying to take some of the attributes of the clicked element to use for further processing but as the click even only returns a MapPoint, that doesn't give me the attributes. Any ideas???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CODE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:FeatureLayer id="gwcLayer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://agsserver.com/ArcGIS/rest/services/NJ_GWC/MapServer/6" rel="nofollow" target="_blank"&gt;http://agsserver.com/ArcGIS/rest/services/NJ_GWC/MapServer/6&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields="&lt;/SPAN&gt;&lt;LI&gt;"&lt;/LI&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="gwcLayer_clickHandler(event)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; useAMF="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DOESN'T WORK:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;protected function gwcLayer_clickHandler(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gr:Graphic = Graphic(event.target);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fails as the event is a MapPoint which can't be casted to a Graphic&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DOESN'T WORK:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;protected function gwcLayer_clickHandler(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gr:Graphic = Graphic(event.currentTarget);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fails because the currentTarget is the entire FeatureLayer and not the clicked element...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 20:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66170#M1501</guid>
      <dc:creator>DerrickMartin</dc:creator>
      <dc:date>2012-02-23T20:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window Problem with Picture Marker Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66171#M1502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever get this figured out?&amp;nbsp; I am having the same problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 20:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/info-window-problem-with-picture-marker-symbol/m-p/66171#M1502</guid>
      <dc:creator>BenKane</dc:creator>
      <dc:date>2012-04-09T20:06:42Z</dc:date>
    </item>
  </channel>
</rss>

