<?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: MouseDown on GraphicsLayer with custom Renderer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448282#M10367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;David,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; It actually has more to do with the PictureMarkerSymbol than the UniqueValueRenderer.&lt;BR /&gt;&lt;BR /&gt;The way to avoid this is to set mouseChildren = "false".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your quick reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was actually looking at the mouseChildren attribute.&amp;nbsp; Symbols don't seem to have a mouseChildren attribute, and the graphicAdd event never seems to be triggered, so I can't set it for the Graphic.&amp;nbsp; Do you mean that I should set mouseChildren=false for the GraphicsLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Nov 2010 20:28:32 GMT</pubDate>
    <dc:creator>DavidElies</dc:creator>
    <dc:date>2010-11-01T20:28:32Z</dc:date>
    <item>
      <title>MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448280#M10365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I listen for MouseDown events on a GraphicsLayer, I usually get a Graphic as the target, but when I use a UniqueValueRenderer I get a CustomSprite.&amp;nbsp; I am using Picture Marker Symbols to display point data.&amp;nbsp; Does anybody know how to get the graphic from a MouseDown on a GraphicsLayer using a UniqueValueRenderer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:16:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448280#M10365</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2010-11-01T20:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448281#M10366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; It actually has more to do with the PictureMarkerSymbol than the UniqueValueRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way to avoid this is to set mouseChildren = "false".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448281#M10366</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-11-01T20:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448282#M10367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;David,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; It actually has more to do with the PictureMarkerSymbol than the UniqueValueRenderer.&lt;BR /&gt;&lt;BR /&gt;The way to avoid this is to set mouseChildren = "false".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your quick reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was actually looking at the mouseChildren attribute.&amp;nbsp; Symbols don't seem to have a mouseChildren attribute, and the graphicAdd event never seems to be triggered, so I can't set it for the Graphic.&amp;nbsp; Do you mean that I should set mouseChildren=false for the GraphicsLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448282#M10367</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2010-11-01T20:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448283#M10368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; No, if you are not adding your graphics in code then you will just have to climb up the parent&amp;nbsp; object with your click event so on mouseDown check to see if it is a customSprite and if it is&amp;nbsp; then do event.currentTarget.parent instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:34:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448283#M10368</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-11-01T20:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448284#M10369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much.&amp;nbsp; That got me what I was looking for.&amp;nbsp; I didn't event realize that the parent attribute existed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448284#M10369</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2010-11-01T20:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448285#M10370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could also set mouseChildren to false on the Graphic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448285#M10370</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-11-01T20:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448286#M10371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You could also set mouseChildren to false on the Graphic.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to set mouseChildren on the Graphic, but I couldn't get access to it, since the graphicAdd event was never fired.&amp;nbsp; I don't know why this is.&amp;nbsp; The GraphicsLayer's dataProvider is a QueryTask, and when the query returns, the graphics get updated, but no graphicAdd events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 20:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448286#M10371</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2010-11-01T20:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448287#M10372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can loop through the graphics in the feature set instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 22:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448287#M10372</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-11-01T22:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: MouseDown on GraphicsLayer with custom Renderer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448288#M10373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; I might try that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 17:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousedown-on-graphicslayer-with-custom-renderer/m-p/448288#M10373</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2010-11-03T17:49:55Z</dc:date>
    </item>
  </channel>
</rss>

